I have a solution now. I refer zoomlevels to categories. zoomlevel 0-5=country, 6-11=state, and 11-17=city or something like that. Then i check the moveend Evenlistener for the current zoomlevel and current selected category and inject these variabeles in an ajax request so i can dynamicly show information about the category and specific zoomlevel.
Is this ok or maybe a little bit tedious? Gr. Martijn. On 23 dec, 22:02, "[email protected]" <[email protected]> wrote: > On Dec 23, 11:45 am, Martijn van der Plaat <[email protected]> > wrote: > > > Thanks Mike, > > > So after reading your anwser i conclude that the function i try to > > make isn't a solution to my problem. > > Can you give me an advice or refer to an example? What i want is an > > array of markers, placed in a Marker Manager and the array is only > > showed in a specific zoomlevel, sofar i can make it work! but the > > last part is the problem: when the array of markers is visible in the > > map, i want to dynamicly show the info of the array markers in a > > sidebar. > > There is a function in the open source MarkerManager, > isGridPointVisible_(point), which looks like it might do what you > want. > > -- Larry > > > > > I hope you understand my description, im from holland! > > > Gr. Martijn > > > On 23 dec, 18:19, Mike Williams <[email protected]> wrote: > > > > Wasn't it Martijn van der Plaat who wrote: > > > > >Hi experts, > > > > >Im playing with Google Maps. I don't understand why the zoomend > > > >eventlister says that !catMarkers[i].isHidden() stays false in a zoom > > > >level that the points are disappeared. > > > >I want to know if a specific MarkerManager category is showed while > > > >zooming, so i can display the points in a sidebar. > > > > >You can take a look at:http://www.profec.nl/profec/gmaps/ > > > > >thanks in advance! > > > > .isHidden() only tells you whether .hide() is in effect. > > > > MarkerManager doesn't use .hide(), it uses .removeOverlay(). [If it used > > > .hide() then the markers would still be attached to the map, and the map > > > would be just as sluggish as if all the markers were visible.] > > > > There isn't anything that tells you whether a marker is currently > > > addOverlay()ed. > > > > --http://econym.org.uk/gmap > > > The Blackpool Community Church Javascript Team- 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 -~----------~----~----~----~------~----~------~--~---
