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,EAAgBC,GAAS,KAE1BD,EAAgBlC,EAASK,IAAM,EAEhC,OAAOhB,EAAoBS,EAAEC,EAAO,EAGjC0C,EAAqBC,KAAyB,mBAAIA,KAAyB,oBAAK,GACpFD,EAAmBxJ,QAAQmJ,EAAqBO,KAAK,KAAM,IAC3DF,EAAmB1N,KAAOqN,EAAqBO,KAAK,KAAMF,EAAmB1N,KAAK4N,KAAKF,G,KC7CvF,IAAIG,EAAsBvD,EAAoBS,OAAEN,EAAW,CAAC,MAAM,IAAOH,EAAoB,QAC7FuD,EAAsBvD,EAAoBS,EAAE8C,G","sources":["webpack://[name]/webpack/runtime/chunk loaded","webpack://[name]/./Scripts/BuckinghamshireRecordTypes.ts","webpack://[name]/./Scripts/CustomClient_BaseLayerFactory_27700.ts","webpack://[name]/./Scripts/DefaultLayerConfigurationFactory.ts","webpack://[name]/./Scripts/DefaultMapOptions.ts","webpack://[name]/./Scripts/HbsmrRecordTypeResource.ts","webpack://[name]/./Scripts/HbsmrResourceFactory.ts","webpack://[name]/./Scripts/HbsmrStyleFactory.ts","webpack://[name]/./Scripts/HbsmrUser.ts","webpack://[name]/./Scripts/MapBase.ts","webpack://[name]/./Scripts/MapSingleRecord.ts","webpack://[name]/./Scripts/TextPackLoader.ts","webpack://[name]/webpack/bootstrap","webpack://[name]/webpack/runtime/compat get default export","webpack://[name]/webpack/runtime/define property getters","webpack://[name]/webpack/runtime/global","webpack://[name]/webpack/runtime/hasOwnProperty shorthand","webpack://[name]/webpack/runtime/make namespace object","webpack://[name]/webpack/runtime/jsonp chunk loading","webpack://[name]/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","\r\nexport enum BuckinghamshireRecordType { \r\n Consultation = \"cons\",\r\n Monument = \"mon\",\r\n Event = \"event\",\r\n Source = \"source\",\r\n Designation = \"desig\", \r\n Hlc_1820 = \"hlc1820\",\r\n Hlc_1880 = \"hlc1880\",\r\n Hlc_2000 = \"hlc2000\",\r\n HistoricRidgeAndFurrow= \"hraf\"\r\n} \r\n\r\nexport enum BuckinghamshireRecordSubType { \r\n ConservationArea = \"COA\",\r\n ScheduledMonument = \"SAM\",\r\n RegisteredParksAndGardens = \"RG\",\r\n ArchaeologicalNotificationAreas = \"PLN\",\r\n ListedBuilding = \"LB\",\r\n LocallyListedBuilding = \"LLB\" \r\n} \r\n","import {\r\n BaseLayer,\r\n BaseLayerFactory_27700,\r\n BaseLayerType\r\n} from \"esdm-map\";\r\nimport { IBaseLayer } from \"esdm-map/dist/baselayers/interfaces/IBaseLayer\";\r\nimport { Tile } from \"ol\";\r\nimport TileLayer from \"ol/layer/Tile\";\r\nimport TileGrid from \"ol/tilegrid/TileGrid\";\r\nimport WMTS from 'ol/source/WMTS';\r\nimport WMTSTileGrid from 'ol/tilegrid/WMTS';\r\nimport TileWMS from 'ol/source/TileWMS';\r\n\r\n\r\n//declare module 'esdm-map/dist/baselayers/BaseLayerType' {\r\n// export enum BaseLayerType {\r\n// BucksOS = 999,\r\n// BucksAerial = 1000\r\n// }\r\n//}\r\n\r\nexport const BucksBaseLayers = {\r\n ...BaseLayerType,\r\n BucksOS : 999,\r\n BucksAerial: 1000,\r\n BucksHistoricRidgeAndFurrow: 1001,\r\n BucksOS1stEdition: 1002\r\n};\r\n\r\nexport class CustomClient_BaseLayerFactory_27700 extends BaseLayerFactory_27700 {\r\n\r\n public GetBaseLayerByType(baseLayerType: BaseLayerType, bingApiKey: string = \"\", esdmApiKey: string = \"\"): IBaseLayer {\r\n if (baseLayerType === BucksBaseLayers.BucksOS) {\r\n return this.GetBucksOS();\r\n } else if (baseLayerType === BucksBaseLayers.BucksAerial) {\r\n return this.GetBucksAerial();\r\n } else if (baseLayerType === BucksBaseLayers.BucksHistoricRidgeAndFurrow) {\r\n return this.HistoricRidgeAndFurrow();\r\n } else if (baseLayerType === BucksBaseLayers.BucksOS1stEdition) {\r\n return this.BucksOS1stEdition();\r\n }\r\n return super.GetBaseLayerByType(baseLayerType, bingApiKey, esdmApiKey);\r\n }\r\n\r\n \r\n private GetBucksOS(): IBaseLayer {\r\n\r\n let lyr = new TileLayer({\r\n visible: false,\r\n source: new WMTS({ \r\n url: 'https://maps.buckscc.gov.uk/arcgis/rest/services/Bucks_Basemapping/MapServer/WMTS/',\r\n layer: 'Bucks_Basemapping',\r\n matrixSet: 'default028mm',\r\n format: 'image/png',\r\n projection: 'EPSG:27700',\r\n tileGrid: new WMTSTileGrid({\r\n origin: [-5220400,4470200],\r\n resolutions: [264.58386250102507, 132.29193125051253, 66.14596562525627, 33.07298281262813, 16.933367200065604, 8.466683600032802, 4.233341800016401, 2.1166709000082005, 1.0583354500041002, 0.5291677250020501, 0.26458386250102506],\r\n matrixIds: [\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\"]\r\n }),\r\n style: 'default',\r\n wrapX: false, \r\n crossOrigin: \"Anonymous\",\r\n attributions: `OS mapping: © Crown copyright OS 0100062456. You are granted a non-exclusive, royalty free, revocable licence solely to view the Licensed Data for non-commercial purposes for the period during which Buckinghamshire Council makes it available. You are not permitted to copy, sub-license, distribute, sell or otherwise make available the Licensed Data to third parties in any form. Third party rights to enforce the terms of this licence shall be reserved to OS.` \r\n })\r\n })\r\n return new BaseLayer(\"BucksCustom\", \"Ordnance Survey\", lyr); \r\n }\r\n\r\n\r\n private GetBucksAerial(): IBaseLayer {\r\n let lyr = new TileLayer({\r\n visible: false,\r\n source: new TileWMS({\r\n urls: [\"/api/ogcservice/BucksAerial\"],\r\n params: {\r\n LAYERS: 'APGB_Latest_UK_250mm',\r\n TILED: 'true',\r\n FORMAT: 'image/png',\r\n SRS: 'EPSG:27700'\r\n },\r\n projection: \"EPSG:27700\", \r\n crossOrigin: \"Anonymous\",\r\n attributions: \"Aerial photography: © Getmapping plc. www.getmapping.com\"\r\n })\r\n })\r\n return new BaseLayer(\"BucksCustomAerial\", \"Aerial Photography\", lyr);\r\n }\r\n\r\n private HistoricRidgeAndFurrow(): IBaseLayer {\r\n let lyr = new TileLayer({\r\n visible: false,\r\n source: new TileWMS({\r\n urls: [\"/api/ogcservice/BucksHistoric\"],\r\n params: {\r\n LAYERS: '1',\r\n TILED: 'true',\r\n FORMAT: 'image/png',\r\n SRS: 'EPSG:27700'\r\n },\r\n projection: \"EPSG:27700\", \r\n crossOrigin: \"Anonymous\",\r\n attributions: `

© Crown copyright 2020 Ordnance Survey 0100062456 Use of this data is subject to terms and conditions. You are granted a non-exclusive, royalty free, revocable licence solely to view the Licensed Data for non-commercial purposes for the period during which Buckinghamshire Council makes it available; You are not permitted to copy, sub-license, distribute, sell or otherwise make available the Licensed Data to third parties in any form; Third party rights to enforce the terms of this licence shall be reserved to Ordnance Survey

\r\n

© Copyright Buckinghamshire Council Historic Environment Record 2020.

` \r\n })\r\n })\r\n return new BaseLayer(\"HistoricRidgeAndFurrow\", \"Historic ridge and furrow\", lyr);\r\n }\r\n\r\n private BucksOS1stEdition(): IBaseLayer {\r\n let lyr = new TileLayer({\r\n visible: false,\r\n source: new TileWMS({\r\n urls: [\"/api/ogcservice/BucksHistoric\"],\r\n params: {\r\n LAYERS: '11,12',\r\n TILED: 'true',\r\n FORMAT: 'image/png',\r\n SRS: 'EPSG:27700'\r\n },\r\n projection: \"EPSG:27700\", \r\n crossOrigin: \"Anonymous\",\r\n attributions: \"©Landmark Information Group\" \r\n })\r\n })\r\n return new BaseLayer(\"BucksOS1stEdition\", \"OS 1st edition (1876-1885)\", lyr);\r\n }\r\n}","import { IVectorLayerGroupConfig } from \"esdm-map/dist/layers/groups/vector/interfaces/IVectorLayerGroupConfig\";\r\nimport { WfsParamSourceMapServer, IWfsParamSource } from \"esdm-map/dist/layers/vector/sources/wfs\";\r\nimport { VectorLayerStrategy } from \"esdm-map/dist/layers/vector/VectorLayerStrategy\";\r\n\r\nimport { BuckinghamshireRecordType, BuckinghamshireRecordSubType} from \"./BuckinghamshireRecordTypes\";\r\nimport { IWmsLayerGroupConfig } from \"esdm-map/dist/layers/groups/wms/interfaces/IWmsLayerGroupConfig\";\r\nimport { WfsBboxAsWktRequestParams } from \"esdm-map/dist/layers/vector/sources/wfs/WfsBboxAsWktRequestParams\";\r\n\r\nexport class DefaultLayerConfigurationFactory {\r\n\r\n private mapFileUrl: string = \"/api/MapServer/Hbsmr\";\r\n\r\n private paramSource(): IWfsParamSource {\r\n return new WfsParamSourceMapServer(new WfsBboxAsWktRequestParams(),{srsName: \"EPSG:27700\"});\r\n }\r\n\r\n constructor() {\r\n }\r\n\r\n public layerConfig = (\r\n recordType: BuckinghamshireRecordType,\r\n recordSubType: BuckinghamshireRecordSubType = null,\r\n opts: IVectorLayerGroupConfig = {}\r\n ): IVectorLayerGroupConfig | IWmsLayerGroupConfig => {\r\n let layerConfig: IVectorLayerGroupConfig | IWmsLayerGroupConfig = null;\r\n\r\n switch (recordType) {\r\n case BuckinghamshireRecordType.Monument:\r\n layerConfig = this.Monument(opts);\r\n break;\r\n\r\n case BuckinghamshireRecordType.Event:\r\n layerConfig = this.Event(opts);\r\n break;\r\n\r\n case BuckinghamshireRecordType.Consultation:\r\n layerConfig = this.Consultation(opts);\r\n break; \r\n\r\n case BuckinghamshireRecordType.Hlc_1820:\r\n layerConfig = this.Hlc1820();\r\n break;\r\n\r\n case BuckinghamshireRecordType.Hlc_1880:\r\n layerConfig = this.Hlc1880();\r\n break;\r\n\r\n case BuckinghamshireRecordType.Hlc_2000:\r\n layerConfig = this.Hlc2000();\r\n break;\r\n\r\n case BuckinghamshireRecordType.HistoricRidgeAndFurrow:\r\n layerConfig = this.HistoricRidgeAndFurrow();\r\n break;\r\n }\r\n\r\n if (layerConfig === null && recordSubType !== null) {\r\n switch (recordSubType) {\r\n\r\n case BuckinghamshireRecordSubType.ConservationArea:\r\n layerConfig = this.ConservationArea(opts);\r\n break; \r\n\r\n case BuckinghamshireRecordSubType.ScheduledMonument:\r\n layerConfig = this.ScheduledMonument(opts);\r\n break;\r\n\r\n case BuckinghamshireRecordSubType.RegisteredParksAndGardens:\r\n layerConfig = this.RegisteredParksAndGardens(opts);\r\n break; \r\n\r\n case BuckinghamshireRecordSubType.ArchaeologicalNotificationAreas:\r\n layerConfig = this.ArchaeologicalNotificationAreas(opts);\r\n break; \r\n\r\n case BuckinghamshireRecordSubType.ListedBuilding:\r\n layerConfig = this.ListedBuilding(opts);\r\n break;\r\n \r\n case BuckinghamshireRecordSubType.LocallyListedBuilding:\r\n layerConfig = this.LocallyListedBuilding(opts);\r\n break;\r\n }\r\n }\r\n\r\n return layerConfig;\r\n }\r\n\r\n private HistoricRidgeAndFurrow = (): IWmsLayerGroupConfig => {\r\n return {\r\n displayName: \"Historic ridge and furrow\",\r\n ref: \"HRAF\",\r\n type: BuckinghamshireRecordType.HistoricRidgeAndFurrow,\r\n url: \"/api/ogcservice/BucksHistoric\",\r\n displayInLayerSwitcher: true,\r\n displayInLegend: false,\r\n visibleOnFirstLoad: false,\r\n queryable: false, \r\n layers: [\r\n {\r\n layerName: \"1\",\r\n minZoom: 1,\r\n maxZoom: 19\r\n }\r\n ]\r\n }\r\n }\r\n\r\n private Hlc1820 = (): IWmsLayerGroupConfig => {\r\n return {\r\n displayName: \"HLC 1820\",\r\n ref: \"HLC1820\",\r\n type: BuckinghamshireRecordType.Hlc_1820,\r\n url: \"/api/ogcservice/BucksUbp\",\r\n displayInLayerSwitcher: true,\r\n displayInLegend: false,\r\n visibleOnFirstLoad: false,\r\n queryable: false,\r\n info_format: \"text/html\",\r\n layers: [\r\n {\r\n layerName: \"5\",\r\n minZoom: 1,\r\n maxZoom: 19\r\n }\r\n ]\r\n }\r\n }\r\n\r\n private Hlc1880 = (): IWmsLayerGroupConfig => {\r\n return {\r\n displayName: \"HLC 1880\",\r\n ref: \"HLC1880\",\r\n type: BuckinghamshireRecordType.Hlc_1880,\r\n url: \"/api/ogcservice/BucksUbp\",\r\n displayInLayerSwitcher: true,\r\n displayInLegend: false,\r\n visibleOnFirstLoad: false,\r\n queryable: false,\r\n info_format: \"text/html\",\r\n layers: [\r\n {\r\n layerName: \"6\",\r\n minZoom: 1,\r\n maxZoom: 19\r\n }\r\n ]\r\n }\r\n }\r\n\r\n private Hlc2000 = (): IWmsLayerGroupConfig => {\r\n return {\r\n displayName: \"HLC 2000\",\r\n ref: \"HLC2000\",\r\n type: BuckinghamshireRecordType.Hlc_2000,\r\n url: \"/api/ogcservice/BucksUbp\",\r\n displayInLayerSwitcher: true,\r\n displayInLegend: false,\r\n visibleOnFirstLoad: false,\r\n queryable: false,\r\n info_format: \"text/html\",\r\n layers: [\r\n {\r\n layerName: \"7\",\r\n minZoom: 1,\r\n maxZoom: 19\r\n }\r\n ]\r\n }\r\n } \r\n\r\n private Monument = (\r\n opts: IVectorLayerGroupConfig\r\n ): IVectorLayerGroupConfig => {\r\n return {\r\n ...{\r\n displayName: \"Monuments\",\r\n ref: \"Monuments\",\r\n type: BuckinghamshireRecordType.Monument,\r\n strategy: VectorLayerStrategy.Bbox,\r\n url: this.mapFileUrl,\r\n wfsParams: this.paramSource(),\r\n legend: { point: false, line: false },\r\n visibleOnFirstLoad: false,\r\n alwaysLoadOnZoom: true,\r\n layers: [\r\n {\r\n layerName: \"MonumentPolygonsWFS\",\r\n minZoom: 10,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"MonumentLinesWFS\",\r\n minZoom: 10,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"MonumentPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"MonumentLinesAsPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 11\r\n },\r\n {\r\n layerName: \"MonumentPolygonsAsPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 11\r\n }\r\n ]\r\n }, ...opts\r\n };\r\n }\r\n\r\n private Event = (\r\n opts: IVectorLayerGroupConfig\r\n ): IVectorLayerGroupConfig => {\r\n return {\r\n ...{\r\n displayName: \"Events\",\r\n ref: \"Events\",\r\n type: BuckinghamshireRecordType.Event,\r\n strategy: VectorLayerStrategy.Bbox,\r\n url: this.mapFileUrl,\r\n wfsParams: this.paramSource(),\r\n legend: { point: false, line: false },\r\n visibleOnFirstLoad: false,\r\n alwaysLoadOnZoom: true,\r\n layers: [\r\n {\r\n layerName: \"EventPolygonsWFS\",\r\n minZoom: 10,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"EventLinesWFS\",\r\n minZoom: 10,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"EventPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"EventLinesAsPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 11\r\n },\r\n {\r\n layerName: \"EventPolygonsAsPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 11\r\n }\r\n ]\r\n }, ...opts\r\n };\r\n }\r\n\r\n private Consultation = (\r\n opts: IVectorLayerGroupConfig\r\n ): IVectorLayerGroupConfig => {\r\n return {\r\n ...{\r\n displayName: \"Consultations\",\r\n ref: \"Consultations\",\r\n type: BuckinghamshireRecordType.Consultation,\r\n strategy: VectorLayerStrategy.Bbox,\r\n url: this.mapFileUrl,\r\n wfsParams: this.paramSource(),\r\n legend: { point: false, line: false },\r\n visibleOnFirstLoad: false,\r\n alwaysLoadOnZoom: true,\r\n layers: [\r\n {\r\n layerName: \"ConsultationPolygonsWFS\",\r\n minZoom: 11,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"ConsultationLinesWFS\",\r\n minZoom: 11,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"ConsultationPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"ConsultationLinesAsPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 10\r\n },\r\n {\r\n layerName: \"ConsultationPolygonsAsPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 10\r\n }\r\n ]\r\n }, ...opts\r\n };\r\n }\r\n\r\n private ListedBuilding = (\r\n opts: IVectorLayerGroupConfig\r\n ): IVectorLayerGroupConfig => {\r\n return {\r\n ...{\r\n displayName: \"Listed Buildings\",\r\n ref: \"ListedBuildings\",\r\n type: BuckinghamshireRecordType.Designation,\r\n subType: BuckinghamshireRecordSubType.ListedBuilding,\r\n strategy: VectorLayerStrategy.Bbox,\r\n url: this.mapFileUrl,\r\n urlParams: { recsubtypecode: BuckinghamshireRecordSubType.ListedBuilding },\r\n wfsParams: this.paramSource(),\r\n legend: { point: false, line: false },\r\n visibleOnFirstLoad: false,\r\n alwaysLoadOnZoom: false,\r\n layers: [\r\n {\r\n layerName: \"DesignationPolygonsWFS\",\r\n minZoom: 11,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"DesignationLinesWFS\",\r\n minZoom: 11,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"DesignationPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"DesignationLinesAsPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 10\r\n },\r\n {\r\n layerName: \"DesignationPolygonsAsPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 10\r\n }\r\n ]\r\n }, ...opts\r\n };\r\n }\r\n\r\n private LocallyListedBuilding = (\r\n opts: IVectorLayerGroupConfig\r\n ): IVectorLayerGroupConfig => {\r\n return {\r\n ...{\r\n displayName: \"Local Heritage List\",\r\n ref: \"LocallyListedBuildings\",\r\n type: BuckinghamshireRecordType.Designation,\r\n subType: BuckinghamshireRecordSubType.LocallyListedBuilding,\r\n strategy: VectorLayerStrategy.Bbox,\r\n url: this.mapFileUrl,\r\n urlParams: { recsubtypecode: BuckinghamshireRecordSubType.LocallyListedBuilding },\r\n wfsParams: this.paramSource(),\r\n legend: { point: false, line: false },\r\n visibleOnFirstLoad: false,\r\n alwaysLoadOnZoom: false,\r\n layers: [\r\n {\r\n layerName: \"DesignationPolygonsWFS\",\r\n minZoom: 11,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"DesignationLinesWFS\",\r\n minZoom: 11,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"DesignationPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"DesignationLinesAsPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 10\r\n },\r\n {\r\n layerName: \"DesignationPolygonsAsPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 10\r\n }\r\n ]\r\n }, ...opts\r\n };\r\n }\r\n\r\n private ScheduledMonument = (\r\n opts: IVectorLayerGroupConfig\r\n ): IVectorLayerGroupConfig => {\r\n return {\r\n ...{\r\n displayName: \"Scheduled Monuments\",\r\n ref: \"ScheduledMonuments\",\r\n type: BuckinghamshireRecordType.Designation,\r\n subType: BuckinghamshireRecordSubType.ScheduledMonument,\r\n strategy: VectorLayerStrategy.Bbox,\r\n url: this.mapFileUrl,\r\n urlParams: { recsubtypecode: BuckinghamshireRecordSubType.ScheduledMonument },\r\n wfsParams: this.paramSource(),\r\n legend: { point: false, line: false },\r\n visibleOnFirstLoad: false,\r\n alwaysLoadOnZoom: true,\r\n layers: [\r\n {\r\n layerName: \"DesignationPolygonsWFS\",\r\n minZoom: 11,\r\n maxZoom: 19\r\n }, \r\n \r\n {\r\n layerName: \"DesignationPolygonsAsPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 10\r\n }\r\n ]\r\n }, ...opts\r\n };\r\n }\r\n \r\n private RegisteredParksAndGardens = (\r\n opts: IVectorLayerGroupConfig\r\n ): IVectorLayerGroupConfig => {\r\n return {\r\n ...{\r\n displayName: \"Registered Parks and Gardens\",\r\n ref: \"RegisteredParksAndGardens\",\r\n type: BuckinghamshireRecordType.Designation,\r\n subType: BuckinghamshireRecordSubType.RegisteredParksAndGardens,\r\n strategy: VectorLayerStrategy.Bbox,\r\n url: this.mapFileUrl,\r\n urlParams: { recsubtypecode: BuckinghamshireRecordSubType.RegisteredParksAndGardens },\r\n wfsParams: this.paramSource(),\r\n legend: { point: false, line: false },\r\n visibleOnFirstLoad: false,\r\n alwaysLoadOnZoom: true,\r\n layers: [\r\n {\r\n layerName: \"DesignationPolygonsWFS\",\r\n minZoom: 11,\r\n maxZoom: 19\r\n }, \r\n {\r\n layerName: \"DesignationPolygonsAsPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 10\r\n }\r\n ]\r\n }, ...opts\r\n };\r\n }\r\n\r\n private ConservationArea = (\r\n opts: IVectorLayerGroupConfig\r\n ): IVectorLayerGroupConfig => {\r\n return {\r\n ...{\r\n displayName: \"Conservation Areas\",\r\n ref: \"ConservationArea\",\r\n type: BuckinghamshireRecordType.Designation,\r\n subType: BuckinghamshireRecordSubType.ConservationArea,\r\n strategy: VectorLayerStrategy.Bbox,\r\n url: this.mapFileUrl,\r\n urlParams: { recsubtypecode: BuckinghamshireRecordSubType.ConservationArea },\r\n wfsParams: this.paramSource(),\r\n legend: { point: false, line: false },\r\n visibleOnFirstLoad: false,\r\n alwaysLoadOnZoom: true,\r\n layers: [\r\n {\r\n layerName: \"DesignationPolygonsWFS\",\r\n minZoom: 11,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"DesignationPolygonsAsPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 10\r\n }\r\n ]\r\n }, ...opts\r\n };\r\n }\r\n\r\n private ArchaeologicalNotificationAreas = (\r\n opts: IVectorLayerGroupConfig\r\n ): IVectorLayerGroupConfig => {\r\n return {\r\n ...{\r\n displayName: \"Archaeological Notification Areas\",\r\n ref: \"ArchaeologicalNotificationAreas\",\r\n type: BuckinghamshireRecordType.Designation,\r\n subType: BuckinghamshireRecordSubType.ArchaeologicalNotificationAreas,\r\n strategy: VectorLayerStrategy.Bbox,\r\n url: this.mapFileUrl,\r\n urlParams: { recsubtypecode: BuckinghamshireRecordSubType.ArchaeologicalNotificationAreas },\r\n wfsParams: this.paramSource(),\r\n legend: { point: false, line: false },\r\n visibleOnFirstLoad: false,\r\n alwaysLoadOnZoom: true,\r\n layers: [\r\n {\r\n layerName: \"DesignationPolygonsWFS\",\r\n minZoom: 11,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: \"DesignationPolygonsAsPointsWFS\",\r\n minZoom: 1,\r\n maxZoom: 10\r\n }\r\n ]\r\n }, ...opts\r\n };\r\n }\r\n\r\n}\r\n\r\n","import {\r\n MapOptions\r\n} from \"esdm-map\";\r\nimport { LayerGroupCollection } from \"esdm-map/dist/layers/groups/LayerGroupCollection\";\r\nimport { BucksBaseLayers } from \"./CustomClient_BaseLayerFactory_27700\";\r\n\r\n\r\nexport class DefaultMapOptions {\r\n\r\n public static GetDefaultOptions(\r\n mapElementId: string,\r\n mapStoreKey: string\r\n ): MapOptions { \r\n\r\n let opt = new MapOptions(); \r\n opt.bingApiKey = $(`#${mapElementId}`).data(\"bing-api-key\");\r\n opt.esdmOsmApiKey = $(`#${mapElementId}`).data(\"esdm-osm-api-key\");\r\n opt.baseMaps = [BucksBaseLayers.BucksOS,BucksBaseLayers.BucksAerial, BucksBaseLayers.BucksOS1stEdition];\r\n opt.defaultBaseMap = BucksBaseLayers.BucksOS;\r\n opt.enableBoundsTracking = true;\r\n opt.mapElementId = mapElementId;\r\n opt.mapStoreKey = mapStoreKey;\r\n opt.mapZoom = 13;\r\n opt.minZoom = 9;\r\n opt.maxZoom = 19;\r\n opt.extent = [455674.40, 172322.31, 514896.93, 261953.12];\r\n opt.mapCentre = [469191.36, 233854.64];\r\n opt.displayProjection = \"EPSG:27700\";\r\n opt.dataProjection = \"EPSG:27700\";\r\n opt.dragRotateAndZoom = false; \r\n opt.zoomToNearestBounds = false;\r\n return opt;\r\n }\r\n\r\n}","import {\r\n BuckinghamshireRecordType,\r\n BuckinghamshireRecordSubType\r\n} from \"./BuckinghamshireRecordTypes\";\r\n\r\nimport {\r\n IRecordTypeFeatureInfoClick,\r\n RecordTypeResource,\r\n IRecordTypeHeading,\r\n\r\n IMappingTextPack\r\n} from \"esdm-map\";\r\nimport { ILayerGroup } from \"esdm-map/dist/layers/groups/ILayerGroup\";\r\nimport { HbsmrUser } from \"./HbsmrUser\";\r\n\r\n\r\nlet headingConfiguration = (): Array => {\r\n let items = new Array();\r\n\r\n items.push({\r\n recordTypeCode: BuckinghamshireRecordType.Monument,\r\n recordSubTypeCode: null,\r\n heading: \"Monument(s)\"\r\n });\r\n\r\n items.push({\r\n recordTypeCode: BuckinghamshireRecordType.Event,\r\n recordSubTypeCode: null,\r\n heading: \"Event(s)\"\r\n });\r\n\r\n items.push({\r\n recordTypeCode: BuckinghamshireRecordType.Designation,\r\n recordSubTypeCode: null,\r\n heading: \"Designation(s)\"\r\n });\r\n\r\n items.push({\r\n recordTypeCode: BuckinghamshireRecordType.Consultation,\r\n recordSubTypeCode: null,\r\n heading: \"Consultation(s)\"\r\n });\r\n\r\n items.push({\r\n recordTypeCode: BuckinghamshireRecordType.Designation,\r\n recordSubTypeCode: BuckinghamshireRecordSubType.ListedBuilding,\r\n heading: \"Listed Building(s)\"\r\n });\r\n\r\n items.push({\r\n recordTypeCode: BuckinghamshireRecordType.Designation,\r\n recordSubTypeCode: BuckinghamshireRecordSubType.LocallyListedBuilding,\r\n heading: \"Local Heritage List\"\r\n });\r\n\r\n items.push({\r\n recordTypeCode: BuckinghamshireRecordType.Designation,\r\n recordSubTypeCode: BuckinghamshireRecordSubType.RegisteredParksAndGardens,\r\n heading: \"Registered Park / Garden\"\r\n });\r\n\r\n items.push({\r\n recordTypeCode: BuckinghamshireRecordType.Designation,\r\n recordSubTypeCode: BuckinghamshireRecordSubType.ScheduledMonument,\r\n heading: \"Scheduled Monument(s)\"\r\n }); \r\n\r\n items.push({\r\n recordTypeCode: BuckinghamshireRecordType.Designation,\r\n recordSubTypeCode: BuckinghamshireRecordSubType.ConservationArea,\r\n heading: \"Conservation Areas\"\r\n });\r\n\r\n items.push({\r\n recordTypeCode: BuckinghamshireRecordType.Designation,\r\n recordSubTypeCode: BuckinghamshireRecordSubType.ArchaeologicalNotificationAreas,\r\n heading: \"Archaeological Notification Areas\"\r\n });\r\n\r\n return items;\r\n}\r\n\r\nexport class HbsmrRecordTypeResource extends RecordTypeResource {\r\n\r\n public constructor(\r\n private _mappingTextPack: IMappingTextPack,\r\n private _user: HbsmrUser\r\n ) {\r\n super(headingConfiguration());\r\n }\r\n \r\n public groupByRecordSubTypeCode(recordTypeCode: string): boolean \r\n {\r\n return (recordTypeCode.toLowerCase() === BuckinghamshireRecordType.Designation); \r\n } \r\n\r\n public mapToIRecordTypeInfoClick(featureProperties: any, layerGroup: ILayerGroup): IRecordTypeFeatureInfoClick \r\n {\r\n return {\r\n id: \"\",\r\n uid: featureProperties.uid,\r\n ref: featureProperties.ref,\r\n name: featureProperties.name,\r\n recordType: featureProperties.rectype,\r\n recordSubType: featureProperties.recsubtype,\r\n recordSubTypeCode: featureProperties.recsubtypecode,\r\n data: featureProperties,\r\n heading: this.getHeading(featureProperties.rectype, featureProperties.recsubtypecode),\r\n layerGroup: layerGroup\r\n }\r\n }\r\n\r\n public getInfoClickHtmlTemplate(recordTypeInfoClick: IRecordTypeFeatureInfoClick): string {\r\n let html: string = \"\";\r\n let featurePropertyNameForId = \"uid\";\r\n let layerType: string = recordTypeInfoClick.layerGroup.layerType;\r\n\r\n let fullHtml = `\r\n
  • \r\n \r\n  \r\n \r\n [name] \r\n \r\n \r\n \r\n \r\n
  • `;\r\n\r\n let noLinksHtml = `\r\n
  • \r\n [name] \r\n \r\n \r\n \r\n
  • `;\r\n\r\n //add controller (or any arbitrary data) to the data object\r\n switch (recordTypeInfoClick.recordType.toLowerCase()) {\r\n case \"mon\":\r\n recordTypeInfoClick.data.controller = \"Monument\";\r\n html = fullHtml;\r\n break;\r\n\r\n case \"event\":\r\n recordTypeInfoClick.data.controller = \"Event\";\r\n html = this.isAuthenticated() ? fullHtml : noLinksHtml;\r\n break;\r\n\r\n case \"desig\":\r\n recordTypeInfoClick.data.controller = \"Designation\";\r\n\r\n if (recordTypeInfoClick.recordSubTypeCode == BuckinghamshireRecordSubType.LocallyListedBuilding) {\r\n //LocallyListedBuilding links visible to all users\r\n html = fullHtml;\r\n } else {\r\n html = this.isAuthenticated() ? fullHtml : noLinksHtml;\r\n }\r\n \r\n break;\r\n\r\n case \"cons\":\r\n recordTypeInfoClick.data.controller = \"Consultation\";\r\n html = this.isAuthenticated() ? fullHtml : noLinksHtml;\r\n break;\r\n } \r\n\r\n return html;\r\n }\r\n\r\n\r\n protected isAuthenticated = (): boolean => {\r\n return this._user !== null;\r\n }\r\n\r\n} ","import { HbsmrRecordTypeResource } from \"./HbsmrRecordTypeResource\";\r\nimport { IResourceFactory, IRecordTypeResource, IMappingTextPack } from \"esdm-map\";\r\nimport { HbsmrUser } from \"./HbsmrUser\";\r\n\r\n\r\n\r\nexport class HbsmrResourcefactory implements IResourceFactory {\r\n\r\n public constructor(\r\n private _mappingTextPack: IMappingTextPack,\r\n private _user: HbsmrUser\r\n ) {\r\n }\r\n\r\n public getRecordTypeResource(): IRecordTypeResource {\r\n return new HbsmrRecordTypeResource(this._mappingTextPack, this._user);\r\n }\r\n}\r\n\r\n","import {\r\n BuckinghamshireRecordType,\r\n BuckinghamshireRecordSubType\r\n} from \"./BuckinghamshireRecordTypes\";\r\nimport { IStyleFactory } from \"esdm-map/dist/layers/vector/styles/IStyleFactory\";\r\nimport Style, { StyleFunction } from \"ol/style/Style\";\r\nimport Fill from 'ol/style/Fill';\r\nimport Circle from 'ol/style/Circle';\r\nimport Stroke from 'ol/style/Stroke';\r\nimport RegularShape from \"ol/style/RegularShape\";\r\nimport * as olHas from 'ol/has';\r\n\r\n\r\nexport class HbsmrStyleFactory implements IStyleFactory {\r\n\r\n public getStyle(recordType: string, recordSubType: string = null): Style[]\r\n {\r\n let style: Style[] = null;\r\n\r\n //try and resolve sub type first\r\n if (recordSubType !== null) {\r\n switch (recordSubType) { \r\n\r\n case BuckinghamshireRecordSubType.ListedBuilding:\r\n style = this.ListedBuilding();\r\n break;\r\n\r\n case BuckinghamshireRecordSubType.LocallyListedBuilding:\r\n style = this.LocallyListedBuilding();\r\n break;\r\n\r\n case BuckinghamshireRecordSubType.ScheduledMonument:\r\n style = this.ScheduledMonument();\r\n break;\r\n \r\n case BuckinghamshireRecordSubType.RegisteredParksAndGardens:\r\n style = this.RegisteredParksAndGardens();\r\n break;\r\n\r\n case BuckinghamshireRecordSubType.ConservationArea:\r\n style = this.ConservationArea();\r\n break;\r\n\r\n case BuckinghamshireRecordSubType.ArchaeologicalNotificationAreas:\r\n style = this.ArchaeologicalNotificationAreas();\r\n break;\r\n }\r\n }\r\n\r\n if (style === null) {\r\n switch (recordType) {\r\n case BuckinghamshireRecordType.Monument:\r\n style = this.Monument();\r\n break;\r\n\r\n case BuckinghamshireRecordType.Event:\r\n style = this.Event();\r\n break;\r\n\r\n //case BuckinghamshireRecordType.Designation:\r\n // style = this.Designation();\r\n // break;\r\n\r\n case BuckinghamshireRecordType.Consultation:\r\n style = this.Consultation();\r\n break;\r\n }\r\n }\r\n\r\n return style;\r\n }\r\n\r\n public getSelectedStyle(\r\n recordType: string = BuckinghamshireRecordType.Monument): Style[]\r\n { \r\n return this.SelectedRecord();\r\n }\r\n\r\n \r\n \r\n private Monument(): Style[] { \r\n var fill = new Fill({\r\n color: 'rgba(56, 168, 0, 0.4)'\r\n }); \r\n var stroke = new Stroke({\r\n color: 'rgba(56, 168, 0, 1)',\r\n width: 2\r\n });\r\n return [\r\n new Style({\r\n image: new Circle({ \r\n stroke: stroke,\r\n radius: 5,\r\n fill: fill\r\n }), \r\n stroke: stroke,\r\n fill: fill\r\n })\r\n ];\r\n }\r\n\r\n private Event(): Style[] { \r\n var fill = new Fill({\r\n color: 'rgba(153, 204, 255, 0.4)'\r\n });\r\n var stroke = new Stroke({\r\n color: 'rgba(153, 204, 255, 1)',\r\n width: 2\r\n });\r\n\r\n return [new Style({\r\n image: new RegularShape({\r\n fill: fill,\r\n stroke: stroke,\r\n points: 4,\r\n radius: 10,\r\n rotation: 0,\r\n angle: 0\r\n }),\r\n fill: fill,\r\n stroke: stroke\r\n })];\r\n }\r\n\r\n private ListedBuilding(): Style[] {\r\n var fill = new Fill({\r\n color: 'rgba(168, 0, 0, 0.4)'\r\n });\r\n var stroke = new Stroke({\r\n color: 'rgba(168, 0, 0, 1)',\r\n width: 2\r\n });\r\n\r\n return [new Style({\r\n image: new Circle({\r\n fill: fill,\r\n stroke: stroke, \r\n radius: 10\r\n }),\r\n fill: fill,\r\n stroke: stroke\r\n })];\r\n }\r\n\r\n private LocallyListedBuilding(): Style[] {\r\n var fill = new Fill({\r\n color: 'rgba(138, 117, 0, 0.4)'\r\n });\r\n var stroke = new Stroke({\r\n color: 'rgba(138, 117, 0, 1)',\r\n width: 2\r\n });\r\n\r\n return [new Style({\r\n image: new Circle({\r\n fill: fill,\r\n stroke: stroke,\r\n radius: 10\r\n }),\r\n fill: fill,\r\n stroke: stroke\r\n })];\r\n }\r\n\r\n private Consultation(): Style[] { \r\n var fill = new Fill({\r\n color: 'rgba(230, 0, 0, 0.4)'\r\n });\r\n var stroke = new Stroke({\r\n color: 'rgba(230, 0, 0, 1)',\r\n width: 2\r\n });\r\n\r\n return [new Style({\r\n image: new RegularShape({\r\n fill: fill,\r\n stroke: stroke,\r\n points: 3,\r\n radius: 10, \r\n angle: 0\r\n }),\r\n fill: fill,\r\n stroke: stroke\r\n })];\r\n }\r\n\r\n private ScheduledMonument(): Style[] {\r\n var fill = new Fill({\r\n color: 'rgba(230, 0, 0, 0.4)'\r\n });\r\n var stroke = new Stroke({\r\n color: 'rgba(230, 0, 0, 1)',\r\n width: 2\r\n });\r\n\r\n return [new Style({\r\n image: new Circle({\r\n fill: fill,\r\n stroke: stroke,\r\n radius: 10\r\n }),\r\n fill: fill,\r\n stroke: stroke\r\n })];\r\n }\r\n \r\n private RegisteredParksAndGardens(): Style[] {\r\n //return this.CommonStyle('rgba(45, 123, 9,0.5)'); \r\n var fill = new Fill({\r\n color: 'rgba(255, 115, 223, 0.4)'\r\n });\r\n\r\n var stroke = new Stroke({\r\n color: 'rgba(255, 115, 223, 1)',\r\n width: 2\r\n });\r\n \r\n return [new Style({\r\n image: new RegularShape({\r\n fill: fill,\r\n stroke: stroke,\r\n points: 4,\r\n radius: 10, \r\n angle: 0\r\n }),\r\n fill: fill,\r\n stroke: stroke\r\n })];\r\n }\r\n\r\n private ConservationArea(): Style[] {\r\n var fill = new Fill({\r\n color: 'rgba(222, 158, 102, 0.4)'\r\n });\r\n var stroke = new Stroke({\r\n color: 'rgba(222, 158, 102, 1)',\r\n width: 2\r\n });\r\n \r\n return [new Style({\r\n image: new Circle({\r\n fill: fill,\r\n stroke: stroke,\r\n radius: 10\r\n }),\r\n fill: fill,\r\n stroke: stroke\r\n })];\r\n }\r\n \r\n private ArchaeologicalNotificationAreas(): Style[] {\r\n var fill = new Fill({\r\n color: 'rgba(255, 255, 115, 0.4)'\r\n });\r\n var stroke = new Stroke({\r\n color: 'rgba(255, 255, 115, 1)',\r\n width: 2\r\n });\r\n\r\n return [new Style({\r\n image: new Circle({\r\n fill: fill,\r\n stroke: stroke,\r\n radius: 10\r\n }),\r\n fill: fill,\r\n stroke: stroke\r\n })];\r\n }\r\n \r\n private SelectedRecord(): Style[] {\r\n var fill = new Fill({\r\n color: 'rgba(255, 255, 0, 0.4)'\r\n });\r\n\r\n return [\r\n new Style({\r\n image: new Circle({\r\n fill: fill,\r\n stroke: new Stroke({\r\n color: 'rgba(255, 173, 10, 1)',\r\n width: 3\r\n }),\r\n radius: 10\r\n }),\r\n fill: fill,\r\n stroke: new Stroke({\r\n color: 'rgba(255, 173, 10, 1)',\r\n width: 3\r\n })\r\n })\r\n ];\r\n }\r\n\r\n}\r\n","\r\nexport class HbsmrIdentity {\r\n\r\n public static fetch(): Promise { \r\n return new Promise(\r\n function (resolve, reject) {\r\n $.getJSON(\"/api/hbsmridentity/get\", function (response) {\r\n resolve(response);\r\n }).fail(function () {\r\n resolve(null);\r\n });\r\n }\r\n );\r\n }\r\n\r\n}\r\n\r\nexport class HbsmrUser {\r\n public userId: string; \r\n public roles: Array;\r\n}","import { IVectorLayerGroupConfig } from \"esdm-map/dist/layers/groups/vector/interfaces/IVectorLayerGroupConfig\";\r\nimport { IMappingTextPack, IMap } from \"esdm-map\";\r\nimport { HbsmrUser } from \"./HbsmrUser\";\r\nimport { BuckinghamshireRecordType, BuckinghamshireRecordSubType } from \"./BuckinghamshireRecordTypes\";\r\n\r\n\r\nexport class MapBase {\r\n\r\n constructor( \r\n protected mappingTextPack: IMappingTextPack,\r\n protected user: HbsmrUser) { \r\n }\r\n\r\n protected isAuthenticated = (): boolean => {\r\n return this.user !== null;\r\n }\r\n\r\n protected filterMapLayers = (layerGroupConfig: Array ): Array => {\r\n if (!this.isAuthenticated()) {\r\n //remove layers that require authentication\r\n return layerGroupConfig.filter(function (value, index, arr) {\r\n let authlayers = (\r\n value.type === BuckinghamshireRecordType.Consultation ||\r\n value.type === BuckinghamshireRecordType.Event\r\n );\r\n return !authlayers;\r\n });\r\n } else {\r\n return layerGroupConfig;\r\n }\r\n } \r\n\r\n protected setWmsOpactity = (map: IMap): void => {\r\n let wmslayers: string[];\r\n wmslayers = [BuckinghamshireRecordType.HistoricRidgeAndFurrow, BuckinghamshireRecordType.Hlc_1820, BuckinghamshireRecordType.Hlc_1880, BuckinghamshireRecordType.Hlc_2000];\r\n\r\n map.options.layerGroupCollection.wmsLayerGroups.forEach(lg => {\r\n if (wmslayers.indexOf(lg.layerType) > -1) {\r\n lg.layers.forEach(lyr => {\r\n lyr.olWmsLayer.setOpacity(0.7);\r\n });\r\n }\r\n });\r\n }\r\n}","import { PrintMap } from \"esdm-map/dist/map/tools/PrintMap\";\r\nimport { IPrintOptions } from \"esdm-map/dist/map/tools/IPrintOptions\";\r\nimport { DownloadMapPng } from \"esdm-map/dist/map/tools/DownloadMapPng\";\r\nimport { IMapViewStore } from \"esdm-map/dist/map/store/IMapViewStore\";\r\nimport { IVectorLayerGroupFactory } from \"esdm-map/dist/layers/groups/vector/interfaces/IVectorLayerGroupFactory\";\r\nimport { IMapContextMenu } from \"esdm-map/dist/map/tools/IMapContextMenu\";\r\nimport { IFeatureLoader } from \"esdm-map/dist/layers/vector/sources/loaders/interfaces/IFeatureLoader\";\r\nimport { OgcMapFilter } from \"esdm-map/dist/map/filters/OgcMapFilter\";\r\nimport { VectorLayerGroupFactory } from \"esdm-map/dist/layers/groups/vector/VectorLayerGroupFactory\";\r\nimport { MapViewStore } from \"esdm-map/dist/map/store/MapViewStore\";\r\nimport { MapContextMenu } from \"esdm-map/dist/map/tools/MapContextMenu\";\r\nimport { ToolTipProvider } from \"esdm-map/dist/map/tooltip/ToolTipProvider\";\r\nimport { IVectorLayerGroupConfig } from \"esdm-map/dist/layers/groups/vector/interfaces/IVectorLayerGroupConfig\";\r\nimport { GeoJsonFeatureLoader } from \"esdm-map/dist/layers/vector/sources/loaders/GeoJsonFeatureLoader\";\r\nimport { ILoaderExtentsBehaviour } from \"esdm-map/dist/layers/vector/sources/loaders/behaviours/ILoaderExtentsBehaviour\";\r\nimport { BoundsLoaderExtentsBehaviour } from \"esdm-map/dist/layers/vector/sources/loaders/behaviours/BoundsLoaderBehaviour\";\r\nimport { IFeatureAdd } from \"esdm-map/dist/layers/vector/sources/loaders/interfaces/IFeatureAdd\";\r\nimport { LayerGroupFactory } from \"esdm-map/dist/layers/groups/LayerGroupFactory\";\r\nimport { LayerGroupCollection } from \"esdm-map/dist/layers/groups/LayerGroupCollection\";\r\nimport { MapFilters } from \"esdm-map/dist/map/filters/MapFilters\";\r\nimport { IMappingTextPack } from \"esdm-map/dist/resources/MappingTextPack\";\r\nimport { FeatureAddSmallGeomsAsPoint } from \"esdm-map/dist/layers/vector/sources/loaders\";\r\nimport { IStyleFactory } from \"esdm-map/dist/layers/vector/styles/IStyleFactory\";\r\nimport { IVectorLayerSourceFactory } from \"esdm-map/dist/layers/vector/sources/interfaces\";\r\nimport { VectorLayerSourceFactory } from \"esdm-map/dist/layers/vector/sources\";\r\nimport { IBaseLayerFactory } from \"esdm-map/dist/baselayers/interfaces/IBaseLayerFactory\";\r\nimport { FilterType } from \"esdm-map/dist/map/filters/FilterType\";\r\nimport { VectorLayerStrategy } from \"esdm-map/dist/layers/vector/VectorLayerStrategy\";\r\nimport { ZoomToDataBounds } from \"esdm-map/dist/layers/vector/ZoomToDataBounds\";\r\nimport { MousePosition } from \"esdm-map/dist/map/controls/MousePosition\";\r\nimport { MouseWheelZoom } from \"esdm-map/dist/map/controls/MouseWheelZoom\";\r\n\r\nimport {\r\n MapOptions,\r\n IMap,\r\n MapLayerSwitcher,\r\n IMapAreaMask,\r\n ILogger,\r\n IResourceFactory,\r\n IMapListRecordItem,\r\n IMapFactory, \r\n MapFactory,\r\n Logger,\r\n\r\n MapFeatureInfo\r\n} from \"esdm-map\";\r\nimport { HbsmrStyleFactory } from \"./HbsmrStyleFactory\";\r\nimport { HbsmrResourcefactory } from \"./HbsmrResourceFactory\";\r\nimport { BuckinghamshireRecordType, BuckinghamshireRecordSubType } from \"./BuckinghamshireRecordTypes\";\r\nimport { DefaultLayerConfigurationFactory } from \"./DefaultLayerConfigurationFactory\";\r\nimport { DefaultMapOptions } from \"./DefaultMapOptions\";\r\nimport { TextPacks, TextPackLoader } from \"./TextPackLoader\";\r\nimport { HbsmrIdentity, HbsmrUser } from \"./HbsmrUser\";\r\nimport { MapBase } from \"./MapBase\";\r\nimport { IWmsLayerGroupConfig, IWmsLayerGroupFactory } from \"esdm-map/dist/layers/groups/wms/interfaces\";\r\nimport { WmsLayerGroupFactory } from \"esdm-map/dist/layers/groups/wms\";\r\nimport { CustomClient_BaseLayerFactory_27700 } from \"./CustomClient_BaseLayerFactory_27700\";\r\n\r\n//import \"../wwwroot/css/ol.css\";\r\n//import \"../wwwroot/css/bootstrap-slider.min.css\";\r\n//import \"../wwwroot/css/ol-contextmenu.css\";\r\n\r\nimport { IlayerGroupCollectionConfig } from \"esdm-map/dist/layers/groups/IlayerGroupCollectionConfig\";\r\nimport { LayerGroupCollections } from \"esdm-map/dist/layers/groups/LayerGroupCollections\";\r\nimport { WfsBboxAsWktRequestParams, WfsParamSourceMapServer } from \"esdm-map/dist/layers/vector/sources/wfs\";\r\n\r\n$(function () {\r\n let printOptions: PrintMap = new PrintMap();\r\n let ele = $(\"#theMap\");\r\n if (ele.length === 1) {\r\n HbsmrIdentity.fetch().then(function (e) {\r\n let user = e;\r\n let maxFeatureCount: number = ele.data(\"max-feature-count\");\r\n let mapData = $(\"#SingleRecordMapData\");\r\n let recordType: string = mapData.data(\"record-type\");\r\n\r\n let init = function (textpacks: TextPacks) {\r\n let userGuid = $(\"#mapFilters\").data(\"filter-userguid\");\r\n let map: MapSingleRecord = new MapSingleRecord(\"theMap\", recordType, null, maxFeatureCount, printOptions, textpacks.mapping, user);\r\n }\r\n TextPackLoader.load().then(init);\r\n });\r\n }\r\n});\r\n\r\n\r\nexport class MapSingleRecord extends MapBase{\r\n\r\n private map: IMap;\r\n private mapStore: IMapViewStore;\r\n private ls: MapLayerSwitcher;\r\n private initialised: boolean = false;\r\n private loadingCount = 0;\r\n private mfOptions: MapOptions;\r\n private layerGroups: LayerGroupCollections;\r\n private styleFactory: IStyleFactory;\r\n private herMask: IMapAreaMask;\r\n private infoPopup: MapFeatureInfo;\r\n private logger: ILogger;\r\n private vectorLayerSourceFactory: IVectorLayerSourceFactory;\r\n private wmsLayerGroupFactory: IWmsLayerGroupFactory;\r\n private baseLayerFactory: IBaseLayerFactory;\r\n private mapFactory: IMapFactory;\r\n private vectorLayerGroupFactory: IVectorLayerGroupFactory;\r\n private layerGroupFactory: LayerGroupFactory;\r\n private boundsLoaderBehaviour: ILoaderExtentsBehaviour;\r\n private mapContextMenu: IMapContextMenu;\r\n private resourcefactory: IResourceFactory;\r\n private downloadPng: DownloadMapPng;\r\n private featureLoader: IFeatureLoader;\r\n private featureAdd: IFeatureAdd;\r\n private mapFilter: MapFilters;\r\n private layerConfigFactory: DefaultLayerConfigurationFactory;\r\n private mousePosition: MousePosition;\r\n\r\n constructor(\r\n private _mapElementId: string,\r\n private _recordType: string,\r\n private _recordSubType: string,\r\n private _maxRecordCount: number,\r\n public printOptions: IPrintOptions,\r\n mappingTextPack: IMappingTextPack,\r\n user: HbsmrUser)\r\n {\r\n super(mappingTextPack, user);\r\n this.init();\r\n }\r\n\r\n private init = () => {\r\n if (this.initialised) {\r\n return;\r\n }\r\n\r\n this.layerConfigFactory = new DefaultLayerConfigurationFactory();\r\n this.wmsLayerGroupFactory = new WmsLayerGroupFactory();\r\n this.vectorLayerGroupFactory = new VectorLayerGroupFactory();\r\n this.layerGroupFactory = new LayerGroupFactory(this.vectorLayerGroupFactory, this.wmsLayerGroupFactory);\r\n this.baseLayerFactory = new CustomClient_BaseLayerFactory_27700(); \r\n this.featureLoader = new GeoJsonFeatureLoader();\r\n this.featureAdd = new FeatureAddSmallGeomsAsPoint(4.5);\r\n this.mapFactory = new MapFactory();\r\n this.logger = new Logger();\r\n this.styleFactory = new HbsmrStyleFactory();\r\n this.resourcefactory = new HbsmrResourcefactory(this.mappingTextPack, this.user);\r\n\r\n this.mapFilter = new MapFilters();\r\n this.mapFilter.OgcFilter = new OgcMapFilter();\r\n\r\n this.mfOptions = DefaultMapOptions.GetDefaultOptions(this._mapElementId, \"SingleRecordMap\");\r\n this.mfOptions.mapZoom = 18;\r\n\r\n this.layerGroups = this.layerGroupFactory.getLayerGroups(this.getLayerGroupConfig(), this.styleFactory);\r\n this.mfOptions.layerGroupCollection = this.layerGroups;\r\n\r\n this.mapStore = new MapViewStore(this.mfOptions.mapStoreKey);\r\n //clear the store so we don't remember the layers etc?\r\n //this.MapViewStore.clear();\r\n this.boundsLoaderBehaviour = new BoundsLoaderExtentsBehaviour(this.logger); \r\n this.mapContextMenu = new MapContextMenu(this.mappingTextPack);\r\n this.vectorLayerSourceFactory = new VectorLayerSourceFactory(this.logger, this.boundsLoaderBehaviour, this.featureLoader, this.featureAdd);\r\n this.map = this.mapFactory.instance(this.mfOptions, this.mapStore, this.logger, this.vectorLayerSourceFactory, this.baseLayerFactory, this.boundsLoaderBehaviour, this.mapContextMenu, this.printOptions, this.mapFilter, this.mappingTextPack); \r\n this.infoPopup = new MapFeatureInfo(this.map, this.resourcefactory.getRecordTypeResource(), this.mappingTextPack);\r\n\r\n this.ls = new MapLayerSwitcher(this.map, this.mapStore, this.styleFactory, this.map.baseLayers, this.layerGroups, this.mappingTextPack, {\r\n showList: false,\r\n showOpenPanelByDefault: false,\r\n rememberActivePanel: false\r\n });\r\n\r\n if (this.printOptions.isPrintMap) {\r\n this.printOptions.setMap(this.map);\r\n }\r\n this.downloadPng = new DownloadMapPng(this.map, this.mappingTextPack); \r\n this.mousePosition = new MousePosition(this.map, this.mappingTextPack);\r\n\r\n //hide the gazetteer, temp fix possibly pending redoing of the html\r\n $(\"#slide-panel-btn-search\").hide();\r\n\r\n this.ctrlZoomHandler();\r\n this.setWmsOpactity(this.map);\r\n\r\n this.initialised = true;\r\n }\r\n\r\n\r\n private ctrlZoomHandler = (): void => {\r\n let z = new MouseWheelZoom(this.map, this.mappingTextPack);\r\n $(\"#slide-panel,#slide-headers,.ol-control,#mouse-position,.ol-scale-line\").on('wheel', function (e) {\r\n e.preventDefault();\r\n });\r\n }\r\n\r\n private getLayerGroupConfig = (): Array => {\r\n let url: string = \"/api/MapServer/Hbsmr\";\r\n\r\n let layerGroupConfig: Array = [\r\n //THE SELECTED RECORD \r\n {\r\n ref: \"SelectedRecord\",\r\n displayName: \"Selected record\",\r\n type: this._recordType,\r\n subType: this._recordSubType,\r\n strategy: VectorLayerStrategy.OgcFilterAll,\r\n zoomToDataBounds: ZoomToDataBounds.Always,\r\n wfsParams: new WfsParamSourceMapServer(new WfsBboxAsWktRequestParams(), { srsName: \"EPSG:27700\" }),\r\n useSelectedStyle: true,\r\n visibleOnLoad: true,\r\n displayInLayerSwitcher: true,\r\n url: url,\r\n legend: { polygon: false, line: false },\r\n restrictMapExtentToDataBounds: true,\r\n filterOptions: {\r\n filterType: FilterType.Ogc,\r\n filters: [\"Uid\"],\r\n },\r\n layers: [\r\n {\r\n layerName: `${this.getLayerNameFromType()}PolygonsWFS`,\r\n minZoom: 7,\r\n maxZoom: 19\r\n }\r\n ,\r\n {\r\n layerName: `${this.getLayerNameFromType()}LinesWFS`,\r\n minZoom: 7,\r\n maxZoom: 19\r\n },\r\n {\r\n layerName: `${this.getLayerNameFromType()}PointsWFS`,\r\n minZoom: 7,\r\n maxZoom: 19\r\n },\r\n ]\r\n },\r\n this.layerConfigFactory.layerConfig(BuckinghamshireRecordType.Monument),\r\n this.layerConfigFactory.layerConfig(BuckinghamshireRecordType.Event),\r\n this.layerConfigFactory.layerConfig(BuckinghamshireRecordType.Consultation),\r\n this.layerConfigFactory.layerConfig(BuckinghamshireRecordType.Designation, BuckinghamshireRecordSubType.ScheduledMonument),\r\n this.layerConfigFactory.layerConfig(BuckinghamshireRecordType.Designation, BuckinghamshireRecordSubType.ListedBuilding), \r\n this.layerConfigFactory.layerConfig(BuckinghamshireRecordType.Designation, BuckinghamshireRecordSubType.RegisteredParksAndGardens), \r\n this.layerConfigFactory.layerConfig(BuckinghamshireRecordType.Designation, BuckinghamshireRecordSubType.ConservationArea),\r\n this.layerConfigFactory.layerConfig(BuckinghamshireRecordType.Designation, BuckinghamshireRecordSubType.LocallyListedBuilding),\r\n this.layerConfigFactory.layerConfig(BuckinghamshireRecordType.Designation, BuckinghamshireRecordSubType.ArchaeologicalNotificationAreas),\r\n this.layerConfigFactory.layerConfig(BuckinghamshireRecordType.HistoricRidgeAndFurrow)\r\n ];\r\n\r\n return [\r\n {\r\n ref: \"all_layers\",\r\n name: \"All layers\",\r\n useAccordion: true,\r\n expandedOnFirstLoad: true,\r\n layerGroupConfigs: this.filterMapLayers(layerGroupConfig)\r\n },\r\n {\r\n ref: \"hlc_1820\",\r\n name: \"HLC 1820\",\r\n useAccordion: true,\r\n expandedOnFirstLoad: false,\r\n layerGroupConfigs: [\r\n this.layerConfigFactory.layerConfig(BuckinghamshireRecordType.Hlc_1820)\r\n ]\r\n },\r\n {\r\n ref: \"hlc_1880\",\r\n name: \"HLC 1880\",\r\n useAccordion: true,\r\n expandedOnFirstLoad: false,\r\n layerGroupConfigs: [\r\n this.layerConfigFactory.layerConfig(BuckinghamshireRecordType.Hlc_1880)\r\n ]\r\n },\r\n {\r\n ref: \"hlc_2000\",\r\n name: \"HLC 2000\",\r\n useAccordion: true,\r\n expandedOnFirstLoad: false,\r\n layerGroupConfigs: [\r\n this.layerConfigFactory.layerConfig(BuckinghamshireRecordType.Hlc_2000)\r\n ]\r\n }\r\n ];\r\n }\r\n\r\n\r\n public getLayerNameFromType = (): string => {\r\n let name: string = null;\r\n let recordType = this._recordType;\r\n let recordSubType = this._recordSubType;\r\n\r\n switch (recordType) {\r\n case BuckinghamshireRecordType.Monument:\r\n name = \"Monument\"\r\n break;\r\n\r\n case BuckinghamshireRecordType.Event:\r\n name = \"Event\"\r\n break;\r\n\r\n case BuckinghamshireRecordType.Designation:\r\n name = \"Designation\"\r\n break;\r\n\r\n case BuckinghamshireRecordType.Consultation:\r\n name = \"Consultation\"\r\n break;\r\n }\r\n\r\n\r\n if (name === null && recordSubType !== null) {\r\n switch (recordSubType) {\r\n\r\n case BuckinghamshireRecordSubType.ListedBuilding:\r\n name = \"ListedBuilding\";\r\n break;\r\n\r\n case BuckinghamshireRecordSubType.ScheduledMonument:\r\n name = \"ScheduledMonument\";\r\n break;\r\n\r\n case BuckinghamshireRecordSubType.RegisteredParksAndGardens:\r\n name = \"RegisteredParksAndGardens\";\r\n break;\r\n\r\n case BuckinghamshireRecordSubType.LocallyListedBuilding:\r\n name = \"LocallyListedBuilding\";\r\n break;\r\n\r\n case BuckinghamshireRecordSubType.ConservationArea:\r\n name = \"ConservationArea\";\r\n break;\r\n\r\n case BuckinghamshireRecordSubType.ArchaeologicalNotificationAreas:\r\n name = \"ArchaeologicalNotificationAreas\";\r\n break;\r\n\r\n }\r\n }\r\n return name;\r\n }\r\n}\r\n\r\n","import { IMappingTextPack, MappingTextPack } from \"esdm-map\";\r\n\r\nexport class TextPacks {\r\n public constructor( \r\n public mapping: IMappingTextPack\r\n ) { }\r\n}\r\n\r\nexport class TextPackLoader {\r\n\r\n public static load(): Promise { \r\n let mapping = MappingTextPack.load();\r\n\r\n return Promise.all([mapping]).then(\r\n function (results) {\r\n return new TextPacks(results[0]);\r\n }\r\n )\r\n }\r\n}","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t81: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_name_\"] = self[\"webpackChunk_name_\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [216], () => (__webpack_require__(7560)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","BuckinghamshireRecordSubType","BuckinghamshireRecordType","BucksBaseLayers","BaseLayerType","BucksOS","BucksAerial","BucksHistoricRidgeAndFurrow","BucksOS1stEdition","GetBaseLayerByType","baseLayerType","bingApiKey","esdmApiKey","this","GetBucksOS","GetBucksAerial","HistoricRidgeAndFurrow","lyr","visible","source","url","layer","matrixSet","format","projection","tileGrid","origin","resolutions","matrixIds","style","wrapX","crossOrigin","attributions","BaseLayer","urls","params","LAYERS","TILED","FORMAT","SRS","BaseLayerFactory_27700","CustomClient_BaseLayerFactory_27700","mapFileUrl","layerConfig","recordType","recordSubType","opts","Monument","Event","Consultation","Hlc_1820","Hlc1820","Hlc_1880","Hlc1880","Hlc_2000","Hlc2000","ConservationArea","ScheduledMonument","RegisteredParksAndGardens","ArchaeologicalNotificationAreas","ListedBuilding","LocallyListedBuilding","displayName","ref","type","displayInLayerSwitcher","displayInLegend","visibleOnFirstLoad","queryable","layers","layerName","minZoom","maxZoom","info_format","strategy","VectorLayerStrategy","Bbox","wfsParams","paramSource","legend","point","line","alwaysLoadOnZoom","Designation","subType","urlParams","recsubtypecode","WfsParamSourceMapServer","WfsBboxAsWktRequestParams","srsName","DefaultLayerConfigurationFactory","GetDefaultOptions","mapElementId","mapStoreKey","opt","MapOptions","$","data","esdmOsmApiKey","baseMaps","defaultBaseMap","enableBoundsTracking","mapZoom","extent","mapCentre","displayProjection","dataProjection","dragRotateAndZoom","zoomToNearestBounds","DefaultMapOptions","_mappingTextPack","_user","items","Array","push","recordTypeCode","recordSubTypeCode","heading","isAuthenticated","groupByRecordSubTypeCode","toLowerCase","mapToIRecordTypeInfoClick","featureProperties","layerGroup","id","uid","name","rectype","recsubtype","getHeading","getInfoClickHtmlTemplate","recordTypeInfoClick","html","layerType","fullHtml","goToDetails","centreOnMap","noLinksHtml","controller","RecordTypeResource","HbsmrRecordTypeResource","getRecordTypeResource","HbsmrResourcefactory","getStyle","getSelectedStyle","SelectedRecord","fill","color","stroke","width","image","radius","points","rotation","angle","HbsmrStyleFactory","fetch","Promise","resolve","reject","getJSON","response","fail","HbsmrIdentity","HbsmrUser","MapBase","mappingTextPack","user","filterMapLayers","layerGroupConfig","filter","value","index","arr","setWmsOpactity","map","wmslayers","options","layerGroupCollection","wmsLayerGroups","forEach","lg","indexOf","olWmsLayer","setOpacity","printOptions","PrintMap","ele","length","then","e","maxFeatureCount","TextPackLoader","load","textpacks","MapSingleRecord","mapping","_mapElementId","_recordType","_recordSubType","_maxRecordCount","initialised","loadingCount","init","layerConfigFactory","wmsLayerGroupFactory","WmsLayerGroupFactory","vectorLayerGroupFactory","VectorLayerGroupFactory","layerGroupFactory","LayerGroupFactory","baseLayerFactory","featureLoader","GeoJsonFeatureLoader","featureAdd","FeatureAddSmallGeomsAsPoint","mapFactory","MapFactory","logger","Logger","styleFactory","resourcefactory","mapFilter","MapFilters","OgcFilter","OgcMapFilter","mfOptions","layerGroups","getLayerGroups","getLayerGroupConfig","mapStore","MapViewStore","boundsLoaderBehaviour","BoundsLoaderExtentsBehaviour","mapContextMenu","MapContextMenu","vectorLayerSourceFactory","VectorLayerSourceFactory","instance","infoPopup","MapFeatureInfo","ls","MapLayerSwitcher","baseLayers","showList","showOpenPanelByDefault","rememberActivePanel","isPrintMap","setMap","downloadPng","DownloadMapPng","mousePosition","MousePosition","hide","ctrlZoomHandler","MouseWheelZoom","on","preventDefault","OgcFilterAll","zoomToDataBounds","ZoomToDataBounds","Always","useSelectedStyle","visibleOnLoad","polygon","restrictMapExtentToDataBounds","filterOptions","filterType","FilterType","Ogc","filters","getLayerNameFromType","useAccordion","expandedOnFirstLoad","layerGroupConfigs","TextPacks","MappingTextPack","all","results","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","Function","window","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","__webpack_exports__"],"sourceRoot":""}