The version I am now looking at geoxml21.1JAN2009.js yes updated tonight It seems to work and leaves a cleaner sidebar than what you were using...
Lance Dyas wrote: > I would say step one is make sure one is using the latest version of the > GeoXml code? > how long ago did you get yours? If it wasnt fairly recent you can snag > the latest at... > http://geoxml.googlecode.com/svn/trunk/ > > Also you can use GeoXml to load your wms layers instead of pulling in > the wms236 code > (for instance you could use GoogleEarth to add a wms and save the kml it > creates) > http://www.dyasdesigns.com/geoxml/aussie.htm > look at the kml directly. > http://www.dyasdesigns.com/geoxml/aussie.kml > > > Lara wrote: > >> Hello all, >> >> I am using http://www.dyasdesigns.com/geoxml/riskmap/ as a guide >> trying to add custom icons to my GeoXML sidebar, but only get the >> default icons. Can someone take a look at my code found at: >> http://www.tchdgis.org/googlemaps/EHserviceNPL.html and tell me, >> >> 1. Why my custom icons don't show up? and >> 2. How to make the sidebar not squish the legend vertically. >> >> The relevant code in my rather lengthy page is: >> >> // Geoxml Code >> >> var icon = new GIcon(G_DEFAULT_ICON,"http://www.tchdgis.org/googlemaps/ >> redsm.png"); >> icon.iconSize = new GSize(17, 24); >> icon.shadowSize = new GSize(11, 21); >> icon.iconAnchor = new GPoint(3, 17); >> icon.infoWindowAnchor = new GPoint(3, 1); >> >> var ricon = new GIcon(icon,"http://www.tchdgis.org/googlemaps/ >> greensm.png"); >> >> var exml = new GeoXml("exml", map,"NPL_FS.xml", >> {sidebarid:"the_side_bar", iwwidth:520, allfoldersopen:false, >> iconFromDescription:false, domouseover:false}); >> >> exml.parse("NPL"); >> >> var exml1 = new GeoXml("exml1", map, "PCS_FS.xml", >> {sidebarid:"the_side_bar", allfoldersopen:false, >> iconFromDescription:false, domouseover:false, baseicon:icon}); >> exml1.parse("PCS"); >> >> var exml2 = new GeoXml("exml2", map, "AFS_FS.xml", >> {sidebarid:"the_side_bar", allfoldersopen:false, >> iconFromDescription:false, domouseover:false, baseicon:ricon}); >> >> exml2.parse("Air Emissions"); >> >> // End Geoxml Code >> >> Thank you! >> Lara >> >> >> . >> >> >> > > > > > . > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
