[OpenLayers-Dev] Newbie questions . . .
Bob.Basques at ci.stpaul.mn.us
Fri Jun 17 17:45:53 EDT 2011
Playing around with my first (official) Openlayers Viewer. http://pwultra5.ci.stpaul.mn.us/ol/ol.03.html
A couple of questions:
1.) How do I add in a Legend Graphic for each layer to the LayerSwitcher from a MapServer CGI call?
For example, here is the call to a legend for the Street centerlines: http://gis.ci.stpaul.mn.us/datasets/SHP/METC/TLG/CENTERLINES_TLG/tlg_googlish1_public.map?mapext=524489.6712328767%20136826.90753424657%20618818.3287671233%20172992.09246575343&mapsize=1072%20411&mode=legend
I did find some examples for WMS, but they didn't seem to be what I was looking for.
2.) How do I set the Layer Switcher to be activated (displayed) by default (vs closed on startup)?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dev