Questions tagged [currentlocation]

Current Location refers to programmatically identifying the GPS location of a device, such as an iPhone app requesting information about its current location to display in a map or find nearby places, for example.

Current Location refers to programmatically identifying the GPS location of a device, such as an iPhone app requesting information about its current location to display in a map or find nearby places, for example.

See also:

221 questions
180
votes
9 answers

How can I get current location from user in iOS

How can I get the current location from user in iOS?
mamrezo
  • 2,273
  • 5
  • 19
  • 23
23
votes
6 answers

How to change location of my location button in google maps using swift

I am using google maps in my project i want to show my location button a bit up how should i do that using swift
Bhanuteja
  • 771
  • 2
  • 8
  • 18
15
votes
6 answers

setting canShowCallOut = NO for current location annotation, iPhone

I am using custom call out (title and subtitle)for Current location icon. I tried following to disable default annotation but it does not work. - (MKAnnotationView *) mapView:(MKMapView *)mapView viewForAnnotation:(id ) annotation { …
chatur
  • 2,365
  • 4
  • 24
  • 38
13
votes
3 answers

I implemented method for check the users permission even thought i got error message "MissingPluginException" in flutter?

I implemented method for checkPermissionStatus even though, I got an error message, Unhandled Exception: MissingPluginException(No implementation found for method checkPermissionStatus on channel flutter.baseflow.com/permissions/methods) import…
FGH
  • 2,900
  • 6
  • 26
  • 59
10
votes
3 answers

Customize Google Maps blue dot for current location

I'm using a 2013 version of Google Maps SDK for iOS. I would like to customize the default blue dot for current location with another icon or pulsing circles around. I know we can do that with mapView:viewForAnnotation: in MKMapView, but I can't…
10
votes
2 answers

Get current city and country from CLGeocoder?

I've been all over the internet trying to find out how to get the city and country from CLGeocoder. I can get the longitude and latitude easily but I need the city and country information, and I keep running into deprecated methods and such, any…
Jon Sullivan
  • 399
  • 2
  • 5
  • 11
9
votes
5 answers

Go to/zoom to current location function (MapKit)

I've got a mapView which zooms to the current location using viewDidLoad : #define METERS_PER_MILE 1609.344 // Implement viewDidLoad to do additional setup after loading the view, typically from a nib. - (void)viewDidLoad { [super…
Jan
  • 119
  • 1
  • 1
  • 4
8
votes
4 answers

Mobile web driving directions from current location

I'm building a mobile-version of a website, trying to have one-click link to launch Google Maps with driving directions to the business, from the user's current location. I have it working fine for the iPhone, but when testing on Android, it views…
jmarx34
  • 228
  • 2
  • 7
  • 25
8
votes
4 answers

How to get current location latitude and longitude in IOS SDK 8.0

how to get current location latitude and longitude. I have try this. Using Xcode 6.01 and IOS SDK 8.0 -(CLLocationCoordinate2D) getLocation{ locationManager = [[CLLocationManager alloc] init]; locationManager.delegate = self; …
KkMIW
  • 1,092
  • 1
  • 17
  • 27
8
votes
3 answers

Android best way to get current location

What is the best way to get the current location in android for the following scenario, If GPS is not available, get location from Network provider If GPS is available and can get current location, get location from GPS provider If GPS is available…
Amarnath
  • 1,091
  • 3
  • 19
  • 32
6
votes
1 answer

Unable to get city name by current latitude and longitude in swift

I'm trying to get city name from my current location coordiate by using CLGeocoder().reverseGeocodeLocation. It gives me country name, street name, state and many other things but not city. Is there anything wrong with my code? Here's my…
Sptibo
  • 281
  • 2
  • 8
  • 22
6
votes
1 answer

Get accurate current location from Network Provider

I use the following code to get Current Location from a Network provider in my application: LocationManager mgr = (LocationManager) getSystemService(LOCATION_SERVICE); boolean network_enabled =…
Archie.bpgc
  • 23,812
  • 38
  • 150
  • 226
5
votes
2 answers

How to display current location blue point without setMyLocationEnabled true?

I am using google map V2 and i need to display custom image button click to get current location with blue point and no display to setMyLocationEnabled button. And already false this method but current location is display but blue point is not…
Najib.Nj
  • 3,706
  • 1
  • 25
  • 39
4
votes
1 answer

Implementation of 'My Location' button in Swift

I am currently stuck while attempting to figure out how to add a button on my map that will redisplay a user's current location if they stray away from it on the map. At the moment I have the code written below that displays the user's current…
DP27
  • 57
  • 1
  • 3
  • 7
4
votes
6 answers

hide blue dot while retrieving google map current location in IOS

I am trying to add the default button to return to current Location within google map. I added the button using self.mapView.myLocationButton = YES But not able to hide the blue dot which is not required in my case. If i set…
Arjun K P
  • 2,081
  • 4
  • 20
  • 33
1
2 3
14 15