The original issue still occurs even on the latest verion of GeoXML.
---------------------------------------------------
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.




On Mar 17, 2:15 pm, Garthan <[email protected]> wrote:
> Well glad to here you have it working for you.
>
> On Mar 17, 2:21 pm, Lara <[email protected]> wrote:
>
>
>
> > ACK! Sorry, there is not a problem with the KMLs parsing!
> > Somehow I didn't get the new geoxml15Mar2009.js up on my site. So
> > sorry...
>
> > On Mar 17, 1:17 pm, Lara <[email protected]> wrote:
>
> > > Thanks in advance for helping me figure out what happens with
> > > the .clear(); call!
>
> > > First, I've switched to using the version geoxml15Mar2009.js, but as
> > > you can see on my 
> > > site:http://www.tchdgis.org/googlemaps/mainEHservicenpl.html
> > > the KMLs below do not load (they do with the prior version). Has
> > > something changed in the way the options are declared?
>
> > > var CCOffice = new GeoXml("CCOffice",map,"http://www.tchdgis.org/
> > > googlemaps/merge_commercecitysas1_13_09.kml",
> > > {clickablepolys:false,nozoom:true});
> > > CCOffice.parse();
> > > var ENGOffice = new GeoXml("ENGOffice",map,"http://www.tchdgis.org/
> > > googlemaps/merge_englewoodsas.kml",
> > > {clickablepolys:false,nozoom:true});
> > > ENGOffice.parse();
> > > var CROffice = new GeoXml("CROffice",map,"http://www.tchdgis.org/
> > > googlemaps/merge_castlerocksas11_08.kml",
> > > {clickablepolys:false,nozoom:true});
> > > CROffice.parse();
> > > var AROffice = new GeoXml("AROffice",map,"http://www.tchdgis.org/
> > > googlemaps/merge_aurorasas11_08.kml",
> > > {clickablepolys:false,nozoom:true});
> > > AROffice.parse();
>
> > > On Mar 17, 12:17 pm, Garthan <[email protected]> wrote:
>
> > > > You are using an early February version.
> > > >  I would be more inclined to help debug if you set up the latest one.
> > > > (the not defined error sounds like you might have typoed or something
> > > > similar. I pointed the one kml parsed fine for me... using a lightly
> > > > altered version from not too long ago.
>
> > > >http://www.microimages.com/ogc/newtntmap/gmap.htm?kml=http://www.tchd...quoted
> > > > text -
>
> > > - Show quoted text -- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to