Member Login

Resources

Developers Blog
GMapsPRO Demo
Bug Tracker
-----------------------------------
GMaps Community Forums
GMaps Subscriber Forums
-----------------------------------
Google Maps API Reference
Google Maps Group Forum

Who's Online

We have 28 guests online

Affiliates



Community Forums

NOTE: Subscribers, please post in the SUBSCRIBER FORUMS - NOT IN THE COMMUNITY FORUMS

homepost replythreaded viewruleshelp
 
leeatempest
Fresh Boarder
 
Direct link from marker click - 2007/11/28 06:40
Is there anyway to change the functionality of the marker so it works like this:

When a user clicks a marker, it does not open a popup info box but imediately redirects the user to a url?

I have a map that I want to show numerous office locations on, and when a user clicks the marker is taken to another page that contains further information on the office and its contact details and facilities.

Please help! otherwise its back to an old fashioned sliced up image map!

Thanks

Lee
The administrator has disabled public write access.

cs1559
Admin
 
Re:Direct link from marker click - 2007/11/28 19:28
In either the pro or std build it would require a hack. However, the pro build is just starting to address increased flexibility with event handlers. For instance, the marker locator in pro has an event handler defined that when the marker is dragged, it invokes a javascript routine. In your case, the event would be 'click' and then your javascript function would handle the opening of a new window, or whatever, to redirect to the other url.
The administrator has disabled public write access.