I added this on the Google code page for GeoXML. Could Lance or someone else provide some help with this?
Thanks, Lara --------------------------------------------------- What steps will reproduce the problem? 1. Go to http://www.tchdgis.org/googlemaps/mainEHservicenpl.html 2. Click "Layers On/Off" 3. Uncheck "Belleview East" (top row), Check "City Boundaries" (second row) 4. Click "Refresh Map" What is the expected output? What do you see instead? Clicking "Refresh Map" runs a Function called Refresh. After going through a series of alerts, the Belleview East polygons (green ones) should clear (This works), then the City Boundaries (dark blue) polygons should add. These do not. The function stops before these add. If you click "Refresh Map" again, they will add. My guess is that the code: else if (Engrefresh=="R") { Engrefresh = "G"; alert("eng is cleared"); ENGOffice.clear(); } stops the if statement execution - specifically the ENGOffice.clear (); call. If I move the code that adds (parses) the city boundaries before the ENGOffice.clear(); statement, both if statements run. What version of the product are you using? On what operating system? geoxml3Feb2009.js on IE 7.0, XP --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
