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
-~----------~----~----~----~------~----~------~--~---

Reply via email to