WIP: exit from building view (buggy)
This commit is contained in:
@@ -8,10 +8,22 @@
|
||||
* A lookup table of Leaflet layer groups by category
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} MapState
|
||||
* @property {L.Layer} baseLayer
|
||||
* @property {number} zoom
|
||||
* @property {L.LatLngExpression} center
|
||||
* @property {number} minZoom
|
||||
* @property {number} maxZoom
|
||||
* A representation of the (current) Leaflet map state
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} GisStateType
|
||||
* @property {L.Map|null} map
|
||||
* @property {{string: L.Layer}|null} baseLayers
|
||||
* @property {?MapState} currentMapState
|
||||
* @property {boolean} bViewActive
|
||||
* @property {MarkerLookup} markers
|
||||
* @property {LayerGroupLookup} layers
|
||||
* @property {Object|null} bibliography
|
||||
@@ -23,6 +35,8 @@
|
||||
export const GisState = {
|
||||
map: null,
|
||||
baseLayers: null,
|
||||
currentMapState: null,
|
||||
bViewActive: false,
|
||||
markers: {
|
||||
sites: {},
|
||||
notConserved: {},
|
||||
@@ -34,6 +48,10 @@ export const GisState = {
|
||||
},
|
||||
layers: {
|
||||
geometries: {},
|
||||
/**
|
||||
* @type {L.LayerGroup}
|
||||
*/
|
||||
walls: {},
|
||||
sites: {},
|
||||
notConserved: {},
|
||||
findings: {},
|
||||
|
||||
Reference in New Issue
Block a user