Google Maps / GPS
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Google Maps / GPS
How do I use livcode to track gps and output this to Google Maps ? I want to build an app that allows the mapping of gps points through livecode on my iphone THEN maps these points to a Google Maps (API) ?!
Re: Google Maps / GPS
Hi azahn123,
sorry, I have no solution for your problem, but please do only open ONE thread for your question(s)!
Will delete the other threads.
Best
Klaus
sorry, I have no solution for your problem, but please do only open ONE thread for your question(s)!
Will delete the other threads.
Best
Klaus
Re: Google Maps / GPS
Sorry.... Im new to this ...
Re: Google Maps / GPS
This is not a question of new or not new
Re: Google Maps / GPS
There is an iOS release notes pdf that can tell you how to get the gps coordinates.
I think that to get google map images, you might have to create a "browser" OR get a url and pass in some gps coords in the url.
I'm not sure yet. I have successfully used the get a url thing to get random numbers from random dot org.
I think that to get google map images, you might have to create a "browser" OR get a url and pass in some gps coords in the url.
I'm not sure yet. I have successfully used the get a url thing to get random numbers from random dot org.
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: Google Maps / GPS
azahan123...
I've attached a stack that will get you started.
be well,
Dixie
I've attached a stack that will get you started.
be well,
Dixie
- Attachments
-
- LC&GoogleMaps.zip
- (80.07 KiB) Downloaded 424 times
Re: Google Maps / GPS
Thanks Dixie ! Im still trying to figure this out ... But it is very frustrating
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: Google Maps / GPS
azahn123...
I made a mistake about which forum you had posted in... This attached stack is for mobile, the previous one just runs on the desktop.
Hope that it helps you...
take care
Dixie
I made a mistake about which forum you had posted in... This attached stack is for mobile, the previous one just runs on the desktop.
Hope that it helps you...
take care
Dixie
- Attachments
-
- LCMobileMaps.zip
- (11.16 KiB) Downloaded 438 times
-
- VIP Livecode Opensource Backer
- Posts: 4036
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: Google Maps / GPS
Hi Dixie,
those 2 stacks are way cool. Would have taken me a long time to figure out.(if at all)
Thank you very much.
Kind regards
Bernd
those 2 stacks are way cool. Would have taken me a long time to figure out.(if at all)
Thank you very much.
Kind regards
Bernd
-
- Posts: 95
- Joined: Wed Mar 30, 2011 10:15 am
Re: Google Maps / GPS
I get this error:Dixie wrote:azahn123...
I made a mistake about which forum you had posted in... This attached stack is for mobile, the previous one just runs on the desktop.
Hope that it helps you...
take care
Dixie
button "chooseCity": execution error at line 15 (Handler: can't find handler) near "iphonePick", char 1
-
- Posts: 95
- Joined: Wed Mar 30, 2011 10:15 am
Re: Google Maps / GPS
Durr...it only works in iOS.
-
- Posts: 95
- Joined: Wed Mar 30, 2011 10:15 am
Re: Google Maps / GPS
Now that I'm thinking a little more clearly, I see that this is a really cool app!
How could we make it so that you can zoom out? Show bike lanes? Input your current location?
How could we make it so that you can zoom out? Show bike lanes? Input your current location?
Re: Google Maps / GPS
Hi Britt,
I wish the desktop engine could simply ignore these special
"mobile" commands in the scripts...
Best
Klaus
yep, one need to use "if then" to make it (not!) compile.Brittgriscom wrote:Durr...it only works in iOS.
Code: Select all
...
if the environment = "mobile" then
## iOS Stuff here
end if
...
"mobile" commands in the scripts...
Best
Klaus
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: Google Maps / GPS
Hi Britt...
Be well
Dixie
To zoom out, then "pinch'. In the simulator, hold the 'option' key down and drag on one of the grey circles that appear.Brittgriscom wrote:Now that I'm thinking a little more clearly, I see that this is a really cool app!
How could we make it so that you can zoom out? Show bike lanes? Input your current location?
Be well
Dixie