PDA

View Full Version : Google Maps popup box help!



webmonkey8
19 Oct 2009, 01:47 AM
Hello,

I'm creating a contact page and I have several locations for my businesses. All my locations (addresses) are displayed on a page and I want to create a "view map" link for each address. I know I'm able to embed a Google Map on a webpage, but instead of this, is it possible when somebody clicks on this link, a pop-up box displays the location in Google Maps? I don't want this pop-up to be a new browser window, rather I would like it to be just a pop-up layer using <div> tags. Is this possible?

Hope you can help me out or steer me in the right direction!
Thanks!

Wickham
19 Oct 2009, 06:17 AM
It should be possible, but a bit complicated.

You could use hoverpopups from links like item 1 here:-
http://www.wickham43.net/hoverpopups.php

The popups normally show in the same relationship to the link, so if one link is 35px below the first, the popup will be 35px below the first, but by giving each popup a class with different offsets from the link you can position them where you want.

You then code the Google map and code the class positions for the hover popups to show a small icon like a pointer or text in selected positions over it.