Re: InfoWindow from overlays outside map div or as lightbox
Exactly... you don't have to open an instance of GInfoWindow on a
click event if you don't want:
GEvent.addListener(marker, "mouseover", function() {
alert('display custom mouseover div');
});
GEvent.addListener(marker, "mouseout", function() {
alert('hide custom mouseover div');
});
GEvent.addListener(marker, "click", function() {
alert('show custom popup window');
});
Or are you specifically trying to override what happens when you click
a "W" on a map like: http://code.google.com/apis/maps/documentation/javascript/v2/examples/layer-simple.html
?
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home