[Geomoose-users] Possible to not have layer checkbox in TOC?

Bistrais, Bob Bob.Bistrais at maine.gov
Thu Oct 6 15:16:21 EDT 2011


Yes, that seems to do it.  Thanks everyone!

 

________________________________

From: gisrangers2 at gmail.com [mailto:gisrangers2 at gmail.com] On Behalf Of
Michael Neimeyer
Sent: Thursday, October 06, 2011 3:08 PM
To: Bistrais, Bob
Cc: Dan Little; geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] Possible to not have layer checkbox in
TOC?

 

You can add "visible" tags in the map source that should do what you
want:

   <map-source name="bounding_citytwps" type="mapserver" visible="true"
>
        <file>./bounding_citytwps.map</file>
        <layer name="all" visible="true"/>
    </map-source>


Mike



------------------------------------------------------------------------
-----------

Mike Neimeyer
GIS Project Manager 

GIS Rangers, LLC.
2434 Virginia Circle
Roseville, MN. 55113
(M) 612.695.7325
mike at gisrangers.com <mailto:mike at gisrangers.com> 





On Thu, Oct 6, 2011 at 2:03 PM, Bistrais, Bob <Bob.Bistrais at maine.gov>
wrote:

Well, I can do that, but the checkbox still appears in the TOC.  If I
comment out that entry in the <catalog> section, that layer doesn't
display.

 

________________________________

From: geomoose-users-bounces at lists.osgeo.org
[mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Dan Little
Sent: Thursday, October 06, 2011 2:18 PM


To: Bistrais, Bob; geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] Possible to not have layer checkbox in
TOC?

 

Yes, yes I did.

	 

	
________________________________


	From: "Bistrais, Bob" <Bob.Bistrais at maine.gov>
	To: Dan Little <danlittle at yahoo.com>;
geomoose-users at lists.osgeo.org
	Sent: Thursday, October 6, 2011 1:11 PM
	Subject: RE: [Geomoose-users] Possible to not have layer
checkbox in TOC?

	Dan- did you mean <map-source>  (in 2.2-Oregon)?

	 

	
________________________________


	From: Dan Little [mailto:danlittle at yahoo.com] 
	Sent: Thursday, October 06, 2011 2:10 PM
	To: Bistrais, Bob; geomoose-users at lists.osgeo.org
	Subject: Re: [Geomoose-users] Possible to not have layer
checkbox in TOC?

	 

	<map-service ....>

	  <layer ... status="on"/>

	</map-service>

	 

	 

	I know this will/does/is-required for 2.6 but I can't remember
the support in 2.4 and below.

		 

		
________________________________


		From: "Bistrais, Bob" <Bob.Bistrais at maine.gov>
		To: geomoose-users at lists.osgeo.org
		Sent: Thursday, October 6, 2011 12:53 PM
		Subject: [Geomoose-users] Possible to not have layer
checkbox in TOC?

		Is it possible in GeoMoose to have a layer which exists
in the map, but does not show up, or at least cannot be turned on or
off, by the user?  In my case, I'm interested in having a layer or two
which are always available for query, always on and can't be toggled by
the user.

		
		_______________________________________________
		Geomoose-users mailing list
		Geomoose-users at lists.osgeo.org
		http://lists.osgeo.org/mailman/listinfo/geomoose-users

	 


_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geomoose-users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20111006/64a9f9ee/attachment-0001.html


More information about the Geomoose-users mailing list