user1956942
user1956942

Reputation:

how to use maps: in phonegap ios application

With reference to the link

I'm trying to locate given location onto the native iOS map with the following url :

window.location = "maps:Greensboro+NC"

But, It opens the map with my current location not the location specified.

Please suggest what i'm doing wrong?

Thanks.

Upvotes: 0

Views: 306

Answers (1)

Moises Kirsch
Moises Kirsch

Reputation: 133

Not sure if this is what you want but according to Apple documentation you need a url in the following format:

http://maps.apple.com/?q=Greensboro+NC

Upvotes: 1

Related Questions