Table Of Contents

Previous topic

API FAQ

Next topic

Default Map

This Page

API Widgets

The philosophy of the GeoExt UX has been followed in order to create the GeoAdmin widgets.

API Widgets Description

Base Layer Tool

The base layer tool allows the user to manage the base layer (swissimage, pixelmap and void). It offers an opacity slider and the possibility to switch between pixelmaps and void layers.

See example: Base Layer Tool.

BOD Search Window

BOD (for Betriebsobjektdatenbank) Search Window is a tool to present the metadata information about a layer.

See example: BOD Search Window

Catalog Tree

This widget contains a tree structure according to INSPIRE with the available layers.

See example: Catalog Tree

Custom Catalog Tree

This wiget structure and parametrization can be cutomized

See example: Custom Catalog Tree

Context Popup

This widget allows the user to right click in the map and get a popup with various information.

See example: Context Popup

Layer Tree

This widget presents the layer visible in the map and offer various functions like: opacity management, visibility management, access to metadata and layer deletion.

See example: Layer Tree

TreePanel

This is the classical layer tree widget, which allows the user to naviagte through the tree and to select/unselect layers.

See example: TreePanel

Map

The map widget contains a map and all the layers of the Switzerland spatial data infrastructure.

See examples: Default Map and Map with gray pixelmap and overlay layer

Mouse Position

The mouse position widget presents the position of the mouse.

See examples: Mouse Position

Print

The print widget allows the generation of PDF files containing the map information. This UX communicates with a MapFish print server. The MapFish print server of api.geo.admin.ch can be used but if you need a custom configuration, you’ll have to setup your own server.

See examples: Print

Tooltip (depracated)

This widget allows the user to click in the map and get a tooltip of the selected features.

See example: Tooltip (deprecated)

ExtendedTooltip

This widget allows the user to click in the map and get a tooltip of the selected features. A selection by rectangle is also possible to allow the user to interact with the selected features.

See examples: ExtendedTooltip Single Click See examples: ExtendedTooltip With Box Selection

LegendWindow

This widget display the legend of all activelayers in a new windows.

See example: LegendWindow

Measure

This widget allows you to measure distances, surfaces and azimuth on the map.

See example: Measure Widget