Lara wrote:
> Hi Lance,
>
> I was trying to figure out how to initiate the map with the sidebar
> markers unchecked.
if you are using kml.. it makes some sense to do it in the kml itself... but
If you want to over-ride.
The zero folders contents include all elements
so if you want all elements invisible
geoxmlvariable.toggleContents(0,false);
ought to do the trick.
> I saw an old post that discussed this, but I didn't
> understand the fix. Also, is there an options guide to GeoXML
> somewhere? You have done a ton of work on it, and the EgeoXML guide
> doesn't cover all of it.
>
Most of what I have is on my site...
http://www.dyasdesigns.com/geoxml
I have discussed the idea of going through a methodical
documentation coverage but when I am inclined to work on geoxml
it tends to be fixing issues or adding features -- actual coding.
> Thanks,
> Lara
>
> On Jan 22, 10:35 pm, Lance Dyas <[email protected]> wrote:
>
>> You're welcome, let me know if you have other issues.
>>
>>
>>
>> Larawrote:
>>
>>> SWEET! Thank you so much Lance.
>>>
>>> On Jan 21, 9:06 pm, Lance Dyas <[email protected]> wrote:
>>>
>>>> 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
>>>>>
>>>>> Larawrote:
>>>>>
>>>>>> Hello all,
>>>>>>
>>>>>> I am usinghttp://www.dyasdesigns.com/geoxml/riskmap/asa 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.htmlandtell 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
>>>>>>
>>>>>> .
>>>>>>
>>>>> .- Hide 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
-~----------~----~----~----~------~----~------~--~---