# Viewer with Scale Limits

The map client configuration

The ViewContext configuration

## Further notes

Sometimes it might be necessarry to configure the used tileSize or the buffer for a single layer. The following example demonstrates the configuration. Each layer has it's own settings. As a result OpenLayers requests each layer with different settings. You may have a look at the generated HTML Code for a better understanding.

    <buffer>3</buffer>
    <tileSize>
      <ol:Size w="100" h="100">
    </tileSize>

To configure the tileSize or its buffer size the extension block for each layer may be set like this.

    <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="">
          <buffer>3</buffer>
          <tileSize>
            <ol:Size w="100" h="100">
          </tileSize>
        </le:Extension>
      </Extension>
    </Layer>

powered by disy Informationssysteme GmbH