[Geomoose-users] turn layers on and off through code,
controlling min / max scales in the mapbook?
FRANZ OKYERE
franzzoa at hotmail.com
Fri May 14 11:00:04 EDT 2010
Hi Mark,
I used the following html calling the geoMOOSE method from compiled.js javascript to turn on/off layers. It falls short of determining whether the layer is on or off but simply turn on or off but there might be a way out.
<input name="Satellite" type="submit" value="Satellite View" onClick="javascript: GeoMOOSE.turnLayerOff('place/loc_labels'); GeoMOOSE.turnLayerOff('bounds/all'); GeoMOOSE.turnLayerOn('nasawms/all'); "/>
Franz
Date: Fri, 14 May 2010 09:18:20 -0500
From: MarkVolz at co.lyon.mn.us
To: geomoose-users at lists.sourceforge.net
Subject: [Geomoose-users] turn layers on and off through code, controlling min / max scales in the mapbook?
Hi,
I was wondering if there is a way to 1) determine if a specific layer is on. 2) turn that layer off. 3) turn on an alternate layer.
Also,
Is there a way to control the min and max scales of wms layers in the map-source?
Thanks
Mark Volz
GIS Specialist
Lyon County, MN
_________________________________________________________________
http://clk.atdmt.com/UKM/go/195013117/direct/01/
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20100514/d35bc6ce/attachment.html
More information about the Geomoose-users
mailing list