Questions tagged [mkuserlocation]

The MKUserLocation class defines a specific type of annotation that identifies the user’s current location.

The MKUserLocation class defines a specific type of annotation that identifies the user’s current location. You do not create instances of this class directly. Instead, you retrieve an existing MKUserLocation object from the userLocation property of the map view displayed in your application.

In iOS 5.1 and earlier, the Map Kit framework uses the Google Mobile Maps (GMM) service to provide map data. Use of specific classes of this framework (and their associated interfaces) is subject to the Google Mobile Maps terms of service. You can find these terms of service at http://code.google.com/apis/maps/iphone/terms.html.

Home page: https://developer.apple.com/library/ios/documentation/MapKit/Reference/MKUserLocation_Class/Reference/Reference.html

38 questions
0
votes
0 answers

MKUserLocation coordinate is now read-only in Xcode 6.3

I had the pulsating dot of the MKUserLocation in my App. Now with the new Xcode 6.3 the MapKit changed so the following code is not working anymore. var anno = MKUserLocation() anno.coordinate = locationNew as well the setCoordinate() method is…
Ti Low
  • 1
0
votes
1 answer

How to fix CLLocation Manager from failing with location error?

I am trying to make the CLLocation manager work but it keeps giving me an error message saying locationManager failed with error=Error Domain=kCLErrorDomain Code=0 "The operation couldn’t be completed. (kCLErrorDomain error 0.)". I looked on…
0
votes
1 answer

MapKit crashing after adding new authorization process

I am trying to get the Map Kit to display the current user's location down to a predefined size. Everything was working but since updating to Xcode 6 and iOS 8, things have changed. I have implemented the necessary authorizations and now the app…
Mark
  • 1
0
votes
1 answer

MKMapView - user current location blue dot covers the annotations

I am working on maps and when you tap a annotation it shows the title and description. Problem is one annotation is very close to the user's current location so i can't see the title of that annotation because its not tapeable. When i try to tap the…
Paragon
  • 982
  • 2
  • 10
  • 37
0
votes
2 answers

Take user to location when they get their location

I have code that gets user location and displays it on the mapView, but they have to zoom out and find themselves on the map, what I want is when the button is pressed it automatically takes them to where they are. Heres my code so far: -…
user3654554
  • 17
  • 1
  • 4
0
votes
1 answer

How to call a mapview current location zoom in method from appdelegate correctly?

I have tried using this method, but for some reason it wont zoom in on the current location. Is there something I am doing wrong? Appdelegate.m -(void)handleNetworkChange { self.reachability = [Reachability reachabilityForInternetConnection]; …
user3249524
  • 71
  • 2
  • 9
0
votes
1 answer

How to zoom to current user location?

I want to show current user location in center and also want to show 15km distance on all sides from current location. How to achieve that?
user2996143
  • 113
  • 1
  • 9
-1
votes
1 answer

Only add pin when button is clicked

I have this code that I need altered slightly. The code I have below creates a pin on my current location (perfectly as I might add). The only problem is that I need the code only to be run when I click a button, not every time I move. Here is the…
Nicholas Gibson
  • 306
  • 1
  • 3
  • 11
1 2
3