From dd1e89970d48f71647a35cc0118f5b6b36473dd3 Mon Sep 17 00:00:00 2001 From: Floran05 Date: Thu, 12 Dec 2024 16:21:47 +0100 Subject: [PATCH] fix: add missing method used in layer definition generation (#989) --- map/client/mixins/map/mixin.base-map.js | 2 +- map/client/utils/utils.layers.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/map/client/mixins/map/mixin.base-map.js b/map/client/mixins/map/mixin.base-map.js index 90a4068b1..dd9c18ca7 100644 --- a/map/client/mixins/map/mixin.base-map.js +++ b/map/client/mixins/map/mixin.base-map.js @@ -28,7 +28,7 @@ import { Time } from '../../../../core/client/time.js' import { getAppLocale } from '../../../../core/client/utils/index.js' import '../../leaflet/BoxSelection.js' import { Geolocation } from '../../geolocation.js' -import { LeafletEvents, TouchEvents, bindLeafletEvents, generatePropertiesSchema } from '../../utils.map.js' // https://github.com/socib/Leaflet.TimeDimension/issues/124 +import { LeafletEvents, TouchEvents, bindLeafletEvents } from '../../utils.map.js' // https://github.com/socib/Leaflet.TimeDimension/issues/124 import { generateLayerDefinition } from '../../utils/utils.layers.js' import markerIcon from 'leaflet/dist/images/marker-icon.png' diff --git a/map/client/utils/utils.layers.js b/map/client/utils/utils.layers.js index 07a57bb29..fa504660a 100644 --- a/map/client/utils/utils.layers.js +++ b/map/client/utils/utils.layers.js @@ -9,6 +9,7 @@ import { LocalForage } from '@kalisio/feathers-localforage' import { PMTiles, findTile, zxyToTileId } from 'pmtiles' import { sourcesToViews } from 'protomaps-leaflet' import * as kMapHooks from '../hooks/index.js' +import { generatePropertiesSchema } from '../utils.map.js' export const InternalLayerProperties = ['actions', 'label', 'isVisible', 'isDisabled']