I want it to zoom in 2 levels when a user single clicks on a marker.

On Jan 28, 3:27 pm, "[email protected]" <[email protected]>
wrote:
> On Jan 28, 1:17 pm, drtowery <[email protected]> wrote:
>
> > anyone?
>
> > On Jan 28, 10:15 am, drtowery <[email protected]> wrote:
>
> > > its the actual function that I'm having problem with.
> > > what goes in the brackets?
>
> > > GEvent.addListener(marker, "click", function() { zoom });
>
> What do you want it to do?
>
>
>
>
>
> > > On Jan 28, 10:08 am, "[email protected]" <[email protected]>
> > > wrote:
>
> > > > 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 -- Hide quoted text -
>
> > > - Show quoted text -- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to