On Dec 1, 11:08 am, KN <[email protected]> wrote: > Hi, > in my script I have a form that contains layer names. When a checkbox > is checked than a function loading data from database runs. Unchecking > a box results in hiding a layer. > But when I check again the old layer and a new one is set on the map. > What shall i do to avoid loading old layer? > clearOverlays results in clearing all layers which I want to avoid. > > my function begins as: > function points(){ > // here in this moment my old layer in set on the map > GDownloadUrl("points.php", function(dane,kod) { > ....//here is my code for data parsing and setting overlay for > each point separatedly on the map > > }); > } > > Can somebody help me?
1. Read the posting guidelines. 2. Provide a link to your map so we can see what you are doing and help you. -- Larry -- 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.
