[fusion-users] RE: [mapserver-users] Zoom Level Layer Changes

Nolte, Tim Tim.Nolte at ipcswirelessinc.com
Mon Jun 8 09:50:17 EDT 2009


Dominic,

Thanks for the response. Actually I already beat you to it. ;-) That was
the solution I came up with, I really didn't want to have to create
multiple layer definitions for the coverage layers but this does give me
what I want in the end.

- Tim

----
Timothy J Nolte - tnolte at ilpcs.com
Network Planning Engineer

iPCS Wireless, Inc.
4717 Broadmoor Ave, Suite G
Kentwood, MI 49512

Office: 616-656-5163
PCS:    616-706-2438
Fax:    616-554-6484
Web: www.ipcswirelessinc.com
-----Original Message-----
From: fusion-users-bounces at lists.osgeo.org
[mailto:fusion-users-bounces at lists.osgeo.org] On Behalf Of Dominic
Gervais
Sent: Monday, June 08, 2009 9:31 AM
To: Liste Fusion
Subject: [fusion-users] RE: [mapserver-users] Zoom Level Layer Changes

Hi Tim,
 
here's an Idea...
 
In your applicationdefinition file, add the
<HideInvisibleLayers>true</HideInvisibleLayers> to the extension of your
Legend Widget.
 
like this -->
 
<Widget xsi:type="WidgetType">
      <Name>Legend</Name>
      <Type>Legend</Type>
  <Extension xsi:type="CustomContentType">    
      <ShowMapFolder>false</ShowMapFolder>
      <ShowRootFolder>false</ShowRootFolder>
      <HideInvisibleLayers>true</HideInvisibleLayers>
  </Extension>
      <StatusItem/>
    </Widget>
 
AND IN YOUR MAPFILE:
 
In your FIRST coverage layer
 
    STATUS ON
    MINSCALEDENOM 120000
    MAXSCALEDENOM YOURMAXSCALE
 
In your SECOND coverage layer
 
    STATUS OFF
    MINSCALEDENOM 0
    MAXSCALEDENOM 120000
 
In your Propagations layer
 
    STATUS ON
    MINSCALEDENOM 0
    MAXSCALEDENOM 120000
 
Hope this helps!
 
Dominic

 


________________________________

Internet Explorer 8 makes surfing easier. Get it now!
<http://go.microsoft.com/?linkid=9655264> 


More information about the fusion-users mailing list