On May 2, 10:41 pm, 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.
Sounds like you need the bounds of the map, not the zoom level. Assuming you have the information to create your markers in a database, you can use the map's bounds to query the database for markers that will be visible. Are you doing this in v2 (deprecated) or v3? If you are developing a new map, I would suggest v3 (this is the v2 group), the v3 group is: http://groups.google.com/group/google-maps-js-api-v3 -- Larry > 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.
