Use GisState for biblio as well

This commit is contained in:
2025-06-02 21:58:17 +02:00
parent c265e4aa94
commit 5b5d0aeb3d
4 changed files with 11 additions and 20 deletions

View File

@@ -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,
}