Permalink
GeoGirafe has permalink parameters used to manage map position and some extra options. This allow to load the project to a specific location and zoom, as well that manage tooltip and cross-hair features. Position x, y, and zoom will change with the user moves in or out, and pan the map.
The following parameters are implemented:
Name | Description | Optional | Type |
---|---|---|---|
map_x | X coordinate in the local projection | false | number |
map_y | Y coordinate in the local projection | false | number |
map_zoom | Zoom level of the map | false | number |
map_crosshair | Display or not a crosshair at map center | true | boolean |
map_tooltip | Display a tooltip text at map center | true | string |
map_x, map_y, map_zoom
The default values of theses parameters are configured in the map.startZoom
and map.startPosition
configuration to set the OpenLayers view.
The values for x and y are in the local projection set in map.srid
.
map_crosshair
This parameter use the "selection" color present in the user config panel. It's possible to change it selecting appriopriate color there.