uMap/Guide/Structure of a uMap map
Jump to navigation
Jump to search
The uMap map is a set of hierarchically arranged data elements:
- A Map has a name, coördinates, zoomlevel, a link to a map background and a set of map specific properties. a Map has one or more Layers.
- A Layer has a name, some properties and contains geometric Objects.
- Objects: Markers (points), Polylines (lines) and Polygons (areas). Objects have a name, description and location information.
Every map level has properties intended to control interaction with the map. E.g. the Map level determines the visibility of interaction buttons. The Map and Layer level can set defaults. Defaults can be overruled by lower levels.
- Example: The Map level may define icon color as blue for all layers, layer XYZ may modify this in red for all containing objects and object PQR may overrule is into orange.
- Example: The Map level may define the content template for the pop-up for all layers and layer XYZ may modify this for all containing objects