Display Maps (iOS) Follow
This article describes how to display maps using the iOS SDK.
Display Maps
MRMapViewController includes a self-contained interface for maps and directions. This makes it unnecessary for you to create your own maps interface. Initialize MRMapViewController with a valid MREditorKey to get started.
MREditorKey *mapKey = [MREditorKey keyForMap:@"5668600916475904" app:@"5809862863224832"]; // Meridian Portland Office MRMapViewController *mapController = [MRMapViewController new]; mapController.mapView.mapKey = mapKey;
MRMapViewController hosts an MRMapView and adopts the MRMapViewDelegate protocol, which handles the basic tasks delegated by MRMapView.
Comments
0 comments
Please sign in to leave a comment.