Viewer with Scale Limits

The map client configuration

The ViewContext configuration


Further notes

By using the map properites "minScale" and "maxScale" you can define the map viewer's scale limits. In the following example it is not possible to zoom to a zoom level that is below 1:500:

<maxScale>500</maxScale>
There might be applications which require a specific layer to be displayed within a limited scale range. In the following example only one layer at a scale that is larger than 1:100,000 is queried:
<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="">
      <minScale>100000000</minScale>
      <opacity>0.6</opacity>
    </le:Extension>
  </Extension>
</Layer>

Back to mainpage

powered by disy Informationssysteme GmbH