[Geomoose-users] status parameter for map source
Brian Fischer
bfischer at houstoneng.com
Thu Nov 29 15:41:19 PST 2012
Can anyone else verify if this is a bug for them as well or if I am doing something wrong? I've been noticing this but didn't put my finger on it until now.
Scenario:
If you have a map source with more than one layer in it and you try to set the status=on, then when the application loads the checkbox in the catalog is not checked. If you only have one layer in the map source definition it works as expected. Example.
<map-source name="basemap" type="mapserver">
<file>./demo/BentonData/basemap.map</file>
<layer name="Taxlots" status="on"/>
<layer name="credits" status="on"/>
<param name="FORMAT" value="image/png;bits=8"/>
</map-source>
Or
<map-source name="basemap" type="mapserver">
<file>./demo/BentonData/basemap.map</file>
<layer name="Taxlots" status="on"/>
<layer name="credits" />
<param name="FORMAT" value="image/png;bits=8"/>
</map-source>
Both cause the checkbox for that layer in the catalog to not be checked when application loads.
Thanks,
Brian Fischer, CFM
Principal | GIS Project Manager
O 763.493.4522 | D 763.493.6664 | M 763.229.2734
[cid:image001.jpg at 01CC3702.356B79C0]
6901 E Fish Lake Rd. , Suite 140 * Maple Grove, MN * 55369
www.houstoneng.com<http://www.houstoneng.com/>
This entire message (including all forwards and replies) and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret, work-product, attorney-client or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20121129/2aac44d3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1059 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20121129/2aac44d3/attachment.jpg>
More information about the Geomoose-users
mailing list