On Jan 28, 8:05 am, drtowery <[email protected]> wrote:
> I know there is a zoom on the map, but I would like to add a click or
> dblclick event on the marker to zoom in as well but i'm not sure how
> to do it
The same way as you add the mouseover event handler
GEvent.addListener(marker, "click", function() {});
-- Larry
>
> On Jan 28, 9:51 am, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > On Jan 28, 7:04 am, drtowery <[email protected]> wrote:
>
> > > How can I add a zoom event for when a user clicks on one of my markers
> > > with gmap2 ?
>
> > What is a "zoom event" on a marker? Is it a click? A double click?
>
> > There is a zoom event on the map.
>
> > > and will it interfere with the mouseover event of opening info window?
>
> > If the map moves and the infoWindow closes on mouseout, it might.
>
> > -- Larry- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---