Page 2 of 2
Re: Google Maps / GPS
Posted: Mon Jun 06, 2011 10:11 pm
by malte
Dixie! This is very cool. Any hints on how I would grab the current location and implement a from currentLocation to destination Map?
Cheers,
Malte
Re: Google Maps / GPS
Posted: Thu Jul 28, 2011 4:36 am
by ctceismc
Dixie:
I tried to edit your mobile location stack script and got this error:
stack "LiveCode Maps": compilation error at line 7 (Chunk: can't create a variable with that name (explicitVariables?)) near "documentFilePath", char 57
But it still runs fine. - any idea what is going on?
Re: Google Maps / GPS
Posted: Tue Aug 02, 2011 3:57 am
by marksmithhfx
Dixie wrote:azahan123...
I've attached a stack that will get you started.
be well,
Dixie
Hi Dixie, at the line....
revBrowserSet browserID, "rect", rect of image "browserImage"
in the resizestack handler I get the error
card id 1002: execution error at line n/a (External handler: exception) near "unknown browser id"
Suggesting, perhaps, that I need to install something?
Thanks
-- Mark
Re: Google Maps / GPS
Posted: Tue Aug 02, 2011 4:03 am
by Dixie
Hi Mark..
Which stack are you looking at ?
be well
Dixie
Re: Google Maps / GPS
Posted: Tue Aug 02, 2011 7:57 am
by Simon Knight
Dixie et al,
This thread is of interest and I have down loaded the desktop stack and it looks great. But, jumping off topic, can anyone point me towards some basic mapping that may be plotted without an internet connection?
best wishes
Simon
Re: Google Maps / GPS
Posted: Tue Aug 02, 2011 1:53 pm
by Dixie
Mark...
Hopefully the problem is not there any more.. I've attached another stack..
be well
Dixie
Re: Google Maps / GPS
Posted: Sat Aug 13, 2011 7:37 pm
by marksmithhfx
Dixie wrote:Mark...
Hopefully the problem is not there any more.. I've attached another stack..
be well
Dixie
Hi Dixie (sorry for the delay responding... I somehow missed your followup post). The problem is still happening at this point:
on resizeStack
/* keep the browser 16 pxs from the bottom to be able to get to the resize window box */
set the rect of image "browserimage" to 0, 0 & "," & (the width of this stack) & "," & (the height of this stack -16 )
revBrowserSet browserID, "rect", the rect of image "browserimage" <-- error occurs on this line (see error msg below)
--pass resizeStack
end resizeStack
stack "Maps": execution error at line n/a (External handler: exception) near "unknown browser id"
However, if I click the continue button it continues to initialize and displays a google map... full screen! Very cool. It looks like map is centered around someplace like Bristol.... no, maybe Wells?
Very cool. I will enjoy exploring. Thanks for posting.
-- Mark
Re: Google Maps / GPS
Posted: Sat Aug 13, 2011 7:59 pm
by Dixie
Hi Mark...
In the last stack I posted for you, I am now not getting that intermittent error... I have just tried it again. Yes, it does start by being centred on Wells, as that is where I live..
If you are interested, email me off list
john@ihouse.on-rev.com ...and I can send you some stacks that show how to show a route and get the directions..
be well
Dixie
Re: Google Maps / GPS
Posted: Sun Aug 14, 2011 3:07 am
by marksmithhfx
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...
Dixie
Impressive. I really like the work you did there.
Re: Google Maps / GPS
Posted: Thu Dec 08, 2011 8:31 am
by josephreesGA75ef
I'm trying to replicate and also make some changes to the iOS version of the stack posted here. In the Application Browser, it shows 2 lines of code/script are attached to the card. However, if I look at that card in the Code Editor, it shows 0 lines of code there. Is there some way the code is hidden? I'm trying to merge this stack with the ability to have the app track my current location and start there instead of being centered on the default location in the html file. By missing those 2 lines of code, I get a display that shows the code for the location instead of the map now. Any help would be greatly appreciated.
Re: Google Maps / GPS
Posted: Tue Apr 17, 2012 1:33 am
by BarrySumpter
Really nice work here.
Love the interactive ability.
And the lateral thinking.
Respect.