close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

pro maps question

Thread began 3/29/2010 4:54 am by eyalvanunu404403 | Last modified 4/09/2010 8:20 am by Bryan Miller | 1378 views | 3 replies |

eyalvanunu404403

pro maps question

I'm not sure if the pro maps is what I was looking for, will be happy for help -
I would like to embed an interactive google map in my site -
for the map itself I'm using the kml gadget form google, what I'm missing is the option to let the user mark a point on the map and get the coordinates. Thanks

Sign in to reply to this post

Eric Mittman

This is not an option or feature of Pro Maps for Google, but I have used the following js code to do something similar:

javascript:void(prompt('lat,%20lng',%20gApplication.getMap().getCenter()));



If you put this code in the URL when viewing the map it should return the coordinates of the center point.

Sign in to reply to this post

eyalvanunu404403

Thanks

for your help

Sign in to reply to this post

Bryan Miller

Go to maps.google.com

right click on the map, select "what's here"

and you will see similar behaviour to what you are asking. Viewing the js code it looks very similar to what Eric mentions. I've learned quite a bit by looking at the code on the Google Maps web site.

-Bryan

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...