Use GisState for biblio as well
This commit is contained in:
@@ -8,18 +8,13 @@
|
||||
* A lookup table of Leaflet layer groups by category
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object.<string, Object>} BibliographyLookup
|
||||
* A lookup table of bibliography data by category
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} GisStateType
|
||||
* @property {L.Map|null} map
|
||||
* @property {String|null} apiUrl
|
||||
* @property {MarkerLookup} markers
|
||||
* @property {LayerGroupLookup} layers
|
||||
* @property {BibliographyLookup} bibliography
|
||||
* @property {Object|null} bibliography
|
||||
*/
|
||||
|
||||
/** @type {GisStateType} */
|
||||
@@ -39,13 +34,7 @@ export const GisState = {
|
||||
prehistoric: {},
|
||||
underwater: {},
|
||||
},
|
||||
bibliography: {
|
||||
sites: {},
|
||||
notConserved: {},
|
||||
findings: {},
|
||||
prehistoric: {},
|
||||
underwater: {},
|
||||
},
|
||||
bibliography: null,
|
||||
apiUrl : null,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user