Viewer with Navigation Elements

The map client configuration

The ViewContext configuration


Further notes

In addition to the features mentioned in the previous example, this examples includes the control elements Zoom Bar, Mouse Position and Scale Line that have to be specified within the control tags:

<controls>
  <olc:Navigation />
  <lb:Reference target="PanZoomBar" />
  <olc:MousePosition />
  <olc:ScaleLine />
</controls>

The zoom bar contains four buttons which allow the user to move the map into any direction. Using the "zoomWorldIcon" attribute you can integrate a button which allows you to zoom-in to the entire map section:

<lc:PanZoomBar zoomWorldIcon="true"/>
 

Back to mainpage

powered by disy Informationssysteme GmbH