How do I Access Map location on mobile?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
How do I Access Map location on mobile?
Hi all!
I want to implement a button that opens the map app of the device and shows a specific location.
I saw this lesson http://lessons.runrev.com/s/lessons/m/4 ... aps-on-ios but it is missing the way to specific a location, I also read this amazing topic http://ftp.runrev.com/forums/viewtopic. ... 47&p=73479 but it's a bit too advanced for my purposes.
Does anyone know how do you open the maps at a specific point?
I want to implement a button that opens the map app of the device and shows a specific location.
I saw this lesson http://lessons.runrev.com/s/lessons/m/4 ... aps-on-ios but it is missing the way to specific a location, I also read this amazing topic http://ftp.runrev.com/forums/viewtopic. ... 47&p=73479 but it's a bit too advanced for my purposes.
Does anyone know how do you open the maps at a specific point?
Re: How do I Access Map location on mobile?
No ideas?
Your message contains 9 characters. The minimum number of characters you need to enter is 10.
Your message contains 9 characters. The minimum number of characters you need to enter is 10.
Re: How do I Access Map location on mobile?
Hi Mag,
Here are 3 url types:
http://maps.google.com/maps?q=Palo%20Alto
http://maps.google.com/maps?q=55.953969,-3.198784
http://maps.google.com/maps?q=Walmart
Just change the lat/lon to where you are or the the name you want to search.
Simon
Here are 3 url types:
http://maps.google.com/maps?q=Palo%20Alto
http://maps.google.com/maps?q=55.953969,-3.198784
http://maps.google.com/maps?q=Walmart
Just change the lat/lon to where you are or the the name you want to search.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: How do I Access Map location on mobile?
Thank you so much Simon. Very useful info!
PS
Unfortunately under iOS in my tests this don't opens the default Maps but Safari, would be great to get to open the default Map app.
PS
Unfortunately under iOS in my tests this don't opens the default Maps but Safari, would be great to get to open the default Map app.
Re: How do I Access Map location on mobile?
Ahh yes, sorry I forgot iOS has their own mapping program.
Not sure how to trigger that one.
Simon
Not sure how to trigger that one.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: How do I Access Map location on mobile?
I Simon,
Your hel was important, I will follow that way, users like also google maps.
I think that a way could exist a way to open iOS own maps, but it needs to study a way to do it... http://stackoverflow.com/questions/1250 ... p-in-ios-6
Your hel was important, I will follow that way, users like also google maps.
I think that a way could exist a way to open iOS own maps, but it needs to study a way to do it... http://stackoverflow.com/questions/1250 ... p-in-ios-6
Re: How do I Access Map location on mobile?
Mag,
I have used the method you mention in the stack overflow article and it works fine.
I have used the method you mention in the stack overflow article and it works fine.
Re: How do I Access Map location on mobile?
Thank you Nakia,
Ok, for convenience I post here the code to open the maps based on the device (if anyone has the enhancements please post as well):
Ok, for convenience I post here the code to open the maps based on the device (if anyone has the enhancements please post as well):
Code: Select all
if the platform is "android" then -- use the google maps
launch url "https://maps.google.it/maps?q=one+infinite+loop+1+cupertino"
else if the platform is "iphone" then -- use the apple maps
launch url "http://maps.apple.com/maps?q=one+infinite+loop+1+cupertino"
end if