Thanks a lot, Pamela, it works great now. My problem was, that i didn't assign the toggle function to change event of my checkbox.
Now i'd like to improve a performance of showing/hiding so many markers. Can you point me to an example on how can i show/hide markers using marker manager? I couldn't realize it from its available public functions. Thanks a lot for your help, Nava On Sep 3, 2009, at 3:29 PM, pamela (Google Employee) wrote: > > Hi Nava- > > The demo gallery also has a non-Flash demo that should help you: > http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/MarkerCategoriesDemo/MarkerCategoriesDemo.html > > Source: > http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/MarkerCategoriesDemo/srcview/index.html > > - pamela > > On Thu, Sep 3, 2009 at 6:09 PM, navac<[email protected]> wrote: >> >> Hi, >> >> I need to show on my map markers, that I create by parsing a kml >> file. >> Markers visibility are supposed to be handled by a simple checkbox. >> You have such a demo, that is called MarkerToggleFlash, but it has >> only .fla & .swf files, without actual .as code. Can you post the >> code, or just the relevant piece of code, that toggles markers >> visibility? By now i just removeOverlay & addOverlay, which is >> relatively slow, since i have near 1500 markers in this file. I tried >> to play with a visibility property, but it seems do nothing without >> proper refreshing. Can you post some code snippet that does it? Also, >> how can i show/hide marker categories, using MarkerManager? >> >> Thanks a lot, >> >> Nava >>> >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
