Viewer without navigation elements

The map client configuration

The ViewContext configuration


Further notes

A map viewer can be embedded into any kind of website by integrating a tag with the Viewer ID used in the configuration as shown below:

<div id="map" style="width: 400px; height: 400px";></div>

It is mandatory to specify the size of the map viewer (here: 400 Pixel x 400 Pixel).

In the following simple example, only one control element was added which allows the user to move the map section and to zoom in and out:

 <controls>
  <olc:Navigation />
</controls>
 

Make sure that, in each configuration file, the namespaces have been allocated (e.g. ol="http://www.openlayers.org";).

Back to mainpage

powered by disy Informationssysteme GmbH