Viewer with limited Layer Resolutions

The map client configuration

The ViewContext configuration


Further notes

If a decent layer is just available within a limited resolutions range then this should be configured withing the extenstion block of this layer.
<resolutions>
  <resolution>0.035</resolution>
  <resolution>0.075</resolution>
  <resolution>0.15</resolution>
  <resolution>0.3</resolution>
</resolutions>
In this example the layer "Hillshading" is displayed at startup. When the user starts zoom in for while this layer disappears.
<Layer queryable="1">
  <Server service="OGC:WMS" version="1.1.1">
    <OnlineResource xlink:href="http://www2.demis.nl/wms/wms.asp?wms=WorldMap" />
  </Server>
      <Name>Hillshading</Name>
      <Title>Hillshading</Title>
  <SRS>EPSG:4326</SRS>
  <Extension>
    <le:Extension xmlns="">
      <resolutions>
        <resolution>0.035</resolution>
        <resolution>0.075</resolution>
        <resolution>0.15</resolution>
        <resolution>0.3</resolution>
      </resolutions>
    </le:Extension>
  </Extension>
</Layer>

Back to mainpage

powered by disy Informationssysteme GmbH