Questions tagged [apple-maps]

Apple Maps is a mapping service application developed by Apple Inc, for its iOS mobile operating system.

Apple Maps was announced by Scott Forstall at the Apple Worldwide Developers Conference (WWDC) 2012 keynote on June 11, 2012. This uses Apple's own mapping system with data provided by a number of providers, mainly through Dutch manufacturer of navigation systems, TomTom, and a Chinese mapping company specifically for just the Chinese market version, AutoNavi.

Source: "Apple Maps" article on Wikipedia

320 questions
132
votes
11 answers

How to open maps App programmatically with coordinates in swift?

I have latitude and longitude that I want to open into my map application. I tried this code from HERE. func goToMap(){ var lat1 : NSString = self.venueLat var lng1 : NSString = self.venueLng var latitude:CLLocationDegrees = …
Dharmesh Kheni
  • 71,228
  • 33
  • 160
  • 165
27
votes
2 answers

PBRequester failed with Error -1001 "bad URL" for Apple Maps download on simulator, but not on device

The first time I try using geocodeAddressString:inRegion:completionHandler after a reset of the iOS simulator I get this error: PBRequester failed with Error Error Domain=NSURLErrorDomain Code=-1000 "bad URL" UserInfo=0x113bba860…
Robert Atkins
  • 23,528
  • 15
  • 68
  • 97
27
votes
4 answers

is there a way to get directions in mkmapview using a built in apple API?

I know google maps are known to be the best maps out there, but i dont want to have to download a bunch of extra libraries and all that. I'd prefer to do something quick and simple to get a quick route from point A to B and be done with it. Is there…
Katushai
  • 1,510
  • 2
  • 14
  • 27
24
votes
1 answer

Zoom to specified markers react-native-maps

There is a section in the react-native-maps docs for zooming to an array of markers, however there are no code examples on how to do this either in the docs or in the examples folder (from what I can find) Can anyone provide an example of how to do…
Luke Berry
  • 1,927
  • 4
  • 19
  • 32
24
votes
3 answers

Opens apple maps app from ios app with directions

As the title states I would like to open the native maps app in the ios device from within my own app, by pressing a button. currently I have used an MKmapview that displays a simple pin with lat/long taken from a json file. the code is this : -…
Kostenko
  • 297
  • 1
  • 4
  • 14
24
votes
2 answers

How to open links in Apple Maps or Google Maps?

How can links on websites be made to lead to, firstly, a location in the new Google Maps for iOS app, and if not available, revert to Apple Maps? Currently, the default functionality is that a link to maps.apple.com will be opened in Apple Maps on…
Baumr
  • 6,124
  • 14
  • 37
  • 63
19
votes
3 answers

iOS - Open Apple Maps with latitude and longitude directions

I am developing an application needs to open an Apple Maps session, and pass in latitude and longitude coordinates to get directions to that location from a users current location. I know this can be done in google maps which I am already doing, but…
randomorb2110
  • 259
  • 1
  • 4
  • 9
19
votes
2 answers

How would I be able to open google maps when I press a button in my app?

I have this app and I want to use google maps or apple maps to open when the user presses a button in my app. How would I be able to do this? Is there like a link to the maps that opens the app or is it something else? If you can point me in the…
coding22
  • 689
  • 1
  • 7
  • 28
17
votes
2 answers

How do I specify the zoom level when using an MKUserTrackingBarButtonItem?

I am using a MKUserTrackingBarButtonItem button to allow the user to automatically track their location on a map. The problem is that when they tap this button, it is zoomed too far out. I want it to start at a specified zoom level (i.e. span). How…
Senseful
  • 86,719
  • 67
  • 308
  • 465
16
votes
5 answers

Open maps with specific address iOS 7

I am trying to make my application open the apple maps application and have the address be pulled up. I tried this : - (IBAction)openInMaps:(id)sender { NSString *addressString = @"http://maps.apple.com/?q=1 Infinite Loop, Cupertino, CA"; …
JCode
  • 1,788
  • 3
  • 12
  • 29
15
votes
2 answers

Open Apple Maps app with specific MKRoute information

I am trying to display all possible routes between points A and B in my Swift app (iOS 8+ target). I allow the user to select any one of the possible routes in my app. Next, I would like the user to be able to navigate the selected route (MKRoute)…
sh4k
  • 306
  • 2
  • 5
13
votes
4 answers

Open Apple Maps programmatically

I want to open the Apple Maps App in my own Swift App, but I have only zipcode, city & street. I have NO Coordinates. I researched a lot, but there were only ways with using coordination information.
Philipp Januskovecz
  • 868
  • 5
  • 14
  • 25
13
votes
1 answer

Math Behind MKMetersPerMapPointAtLatitude

I'm trying to convert some Apple mapping code to Java. I have most of it converted correctly except for a few calls to MKMetersPerMapPointAtLatitude I have a very close solution... but it's not exact and I'm not sure why not. Any ideas? #import…
Shaun
  • 3,777
  • 4
  • 25
  • 46
12
votes
2 answers

Is there any Apple API like google Place Search API?

In my iPhone App I am using MKMapKit. Currently I am plotting places on map according to the results get from Google Place API, but as per Google's doc I must use this values only in google Maps. Unfortunately from iOS 6, MKMapKit will go to Apple…
user2000452
11
votes
4 answers

Find the URL scheme of an app on my iPhone

Apple maps can open routing apps when it can't provide a route: I want to open a few of those apps from my app. I am aware that I have to whitelist each app that I want to open. This is not the problem. How can I find out the url schemes of those…
Gerd Castan
  • 6,275
  • 3
  • 44
  • 89
1
2 3
21 22