Geomajas Community Documentation

10.1. ConfigurationService

This service allows you to easily access some of the configuration information.

Provided methods are:

  • VectorLayer getVectorLayer(String id) : get a vector layer based on the layer id.

  • RasterLayer getRasterLayer(String id) : get a raster layer based on the layer id.

  • Layer<?> getLayer(String id) : get a layer (can be either vector or raster), based on the layer id.

  • ClientMapInfo getMap(String mapId, String applicationId) : get the map with given id for a specific application.