Both should be possible. Just change the click event on the marker.
For example this would redirect the browser to Google.com
google.maps.event.addListener(marker, 'click', function() {
window.location = "http://www.google.com/"
});
On Aug 23, 7:34 pm, camfam <[email protected]> wrote:
> I have created a map and added markers. I would like to open an
> external link when a marker is clicked. IF that is not possible,
> would like to have the URL clickable within an infoWindow. Are either
> of these possible?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.