Page 1 of 2

Google Maps / GPS

Posted: Thu Apr 21, 2011 12:06 pm
by azahn123
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

Posted: Thu Apr 21, 2011 12:12 pm
by Klaus
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

Re: Google Maps / GPS

Posted: Thu Apr 21, 2011 12:35 pm
by azahn123
Sorry.... Im new to this ...

Re: Google Maps / GPS

Posted: Thu Apr 21, 2011 12:57 pm
by Klaus
This is not a question of new or not new 8)

Re: Google Maps / GPS

Posted: Fri Apr 22, 2011 9:31 pm
by neo42
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.

Re: Google Maps / GPS

Posted: Sat Apr 23, 2011 1:25 am
by Dixie
azahan123...

I've attached a stack that will get you started.

be well,

Dixie

Re: Google Maps / GPS

Posted: Sat Apr 23, 2011 4:38 am
by azahn123
Thanks Dixie ! Im still trying to figure this out ... But it is very frustrating

Re: Google Maps / GPS

Posted: Sat Apr 23, 2011 12:40 pm
by Dixie
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

Re: Google Maps / GPS

Posted: Sun May 01, 2011 3:36 pm
by azahn123
Thanks !!!

Re: Google Maps / GPS

Posted: Sun May 01, 2011 4:06 pm
by bn
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

Re: Google Maps / GPS

Posted: Wed May 25, 2011 1:42 am
by Brittgriscom
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
I get this error:
button "chooseCity": execution error at line 15 (Handler: can't find handler) near "iphonePick", char 1

Re: Google Maps / GPS

Posted: Thu May 26, 2011 4:53 pm
by Brittgriscom
Durr...it only works in iOS.

Re: Google Maps / GPS

Posted: Thu May 26, 2011 6:16 pm
by Brittgriscom
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?

Re: Google Maps / GPS

Posted: Fri May 27, 2011 11:54 am
by Klaus
Hi Britt,
Brittgriscom wrote:Durr...it only works in iOS.
yep, one need to use "if then" to make it (not!) compile.

Code: Select all

...
if the environment = "mobile" then
   ## iOS Stuff here
end if
...
I wish the desktop engine could simply ignore these special
"mobile" commands in the scripts...


Best

Klaus

Re: Google Maps / GPS

Posted: Tue May 31, 2011 6:20 pm
by Dixie
Hi Britt...
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?
To zoom out, then "pinch'. In the simulator, hold the 'option' key down and drag on one of the grey circles that appear.

Be well

Dixie