[Geomoose-users] html link to turn layer groups on
Bistrais, Bob
Bob.Bistrais at maine.gov
Fri Dec 9 12:06:47 EST 2011
Hi Mark,
I'm just going off the top of my head here, but if you edit your .map
files for each of those layers, make sure they all have the same GROUP
name, you should be able to display them all by using layers=(your group
name).
________________________________
From: geomoose-users-bounces at lists.osgeo.org
[mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Mark Volz
Sent: Friday, December 09, 2011 12:03 PM
To: geomoose-users at lists.osgeo.org
Subject: [Geomoose-users] html link to turn layer groups on
Hello,
I have a link to my Geomoose application that turns on certain layers.
I would like to get 4 layers to turn on with this link. Currently, I
can only get 2 of them to work at a time.
I would prefer to use:
http://geomoose.lyonco.org/geomoose2/?on=contours/all:DEM/all:DEMArcServ
er/0:DEMArcServer/1
However only http://geomoose.lyonco.org/geomoose2/?on=contours/all:DEM
<http://geomoose.lyonco.org/geomoose2/?on=contours/all:DEM/all:DEMArcSer
ver/0:DEMArcServer/1> or
http://geomoose.lyonco.org/geomoose2/?on=DEMArcServer/0:DEMArcServer/1
works.
Could this be a limitation or a bug? Contours/all and DEM/all are in
the same group. DEMArcServer/0 and DEMArcServer/1 are in another group
with multiple set to false.
<group title="Elevation Information" expand="false">
<layer title="Contour Lines"
src="contours/all:DEM/all" status="off" metadata="false" popups="false">
</layer>
</group>
<group title="Backgrounds" expand="false"
multiple="false">
...
<layer title="DEM - ArcServer" src="DEMArcServer/0:DEMArcServer/1"/>
...
</group>
Thanks
Mark Volz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20111209/7b37796d/attachment.html
More information about the Geomoose-users
mailing list