Google Maps Script Error (1 Viewer)

Switch

Registered User.
Local time
Today, 02:33
Joined
Feb 16, 2012
Messages
16
Hi guys, been away from the site for a long time

We have a form with the web browser control which links to Google maps and jumps to that location on the map by the lat and long and updates as you jump to each record. (The control is on a form and is only used there) The map itself works however i get a script error every time i jump to the next record....

Am i missing something basic?

(Sorry for the zip file, not reached the post count to just post the image)
 

Attachments

  • Script Error.zip
    33.2 KB · Views: 130

Switch

Registered User.
Local time
Today, 02:33
Joined
Feb 16, 2012
Messages
16
Solved:

Although i don't yet have enough posts in order to put the code i used as it contains a link

Once i reach the post count in the future i'll come back and edit the solution in to this post
 

Switch

Registered User.
Local time
Today, 02:33
Joined
Feb 16, 2012
Messages
16
This is the code i entered into the Web Browser control source

Code:
="http://maps.googleapis.com/maps/api/staticmap?zoom=18&size=480x480&key=xxxxxxx&maptype=hybrid&style=feature:all|element:all&markers=color:blue%7C" & [lat] & "," & [long]

Where
Code:
key=xxxxxx
you need to insert your google api key, which is free from the Google developers site, in-lieu of the x's
 

Users who are viewing this thread

Top Bottom