Top "Mapkit" questions

MapKit is Apple's framework for presenting and annotating scrollable and zoom-enabled maps on iOS, IPadOS, tvOS, watchOS, and macOS.

Stuck on using MKPinAnnotationView() within Swift and MapKit

I have a working loop to setup annotations for the title and subtitle elements for some working data points. What …

ios mkmapview swift mapkit mkannotationview
show users location blue point in iPhone MKMapView

I am developing a custom pins in a MapView in my iPhone app. Here is the code: - (MKAnnotationView *)mapView:(…

iphone ios mapkit mkmapview mkannotationview
Centering MKMapView on spot N-pixels below pin

Want to center MKMapView on a point N-pixels below a given pin (which may or may not be visible in …

ios objective-c mapkit core-location
Use MKLocalSearch to search for locations on a map

I want to use MKLocalSearch for searching in a Map. This functionality is available in iOS 6.1+. Does anybody know how …

ios objective-c mkmapview mapkit mklocalsearch
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 …

iphone xcode mapkit currentlocation
How to get lat and long coordinates from address string

I have a MKMapView that has a UISearchBar on the top, and I want the user to be able to …

mapkit cllocation cllocationcoordinate2d
display route on iOS 7 maps: addOverlay has no effect

i want display a point to point route inside my mapView, i use this code for create the route: - (…

ios mapkit ios7 xcode5 mkmapitem
Z-index of iOS MapKit user location annotation

I need to draw the current user annotation (the blue dot) on top of all other annotations. Right now it …

objective-c ios mapkit
Calculate distance between my location and a MapKit pin on Swift

I need your help, I'm working on an App where I have some pins (locations) and what I want is …

ios swift geolocation mapkit mapkitannotation
MapKit custom pin annotation

I have the following files: annotation.h: #import <Foundation/Foundation.h> #import <MapKit/MapKit.h> @interface …

ios objective-c mapkit mkpinannotationview