Hi Molotilka,

if you are looking for just the zoom level, Version 2 API has a
getZoom() function that returns the current zoom of the map:

http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMap2.getZoom

So what ever zoom you are on, just call map.getZoom(); and it will
give you the zoom level, like 16, 15, 14, etc..

Hope this helps,
Chung


On May 3, 12:41 am, molotilka <[email protected]> wrote:
> I'm sorry I'm not a native speaker and maybe some things that sound
> clear for me don't sound that way for you. Let me explane.
> By current zoom level I meen just that I have a dynamic map. Every
> time I zoom it I wan't different markers to appear on it. In other
> words I need to define zoom lever and then create needful markers. I
> have achieve that by using markerManager quite simple by the way. BUT.
> My manager wants it to be done the other way (don't aks why...). So
> she asked me to apply condition on a zoom level, then create needful
> markers, and of story. So  I have to figure it out.
> Please reply, I would really appreciate your help!
>
> On Apr 29, 7:55 pm, Rossko <[email protected]> wrote:
>
>
>
>
>
>
>
> > > It shound't be very difficult I think, but I am lost.
>
> > Me too.  What do you to want to "define currentzoomlevel" as,
> > exactly?  Are you trying to calculate the bestzoomto contain a
> > number of markers or something?
>
> > > ... how can the function be activated when the map is zoomed.
>
> > I'm confused by that ; not sure what you mean by a function to define
> > thezoomwhen the map is zoomed ... are you trying to override the end
> > user's zooming?  Or are you just trying to find out what thezoomlevelis, 
> > when it changes?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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