diff options
-rw-r--r-- | src/map/draw/MapGeofenceEdit.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/draw/MapGeofenceEdit.js b/src/map/draw/MapGeofenceEdit.js index e547ea05..46fe8c9c 100644 --- a/src/map/draw/MapGeofenceEdit.js +++ b/src/map/draw/MapGeofenceEdit.js @@ -13,6 +13,10 @@ import { errorsActions, geofencesActions } from '../../store'; import { useCatchCallback } from '../../reactHelper'; import theme from './theme'; +MapboxDraw.constants.classes.CONTROL_BASE = 'maplibregl-ctrl'; +MapboxDraw.constants.classes.CONTROL_PREFIX = 'maplibregl-ctrl-'; +MapboxDraw.constants.classes.CONTROL_GROUP = 'maplibregl-ctrl-group'; + const draw = new MapboxDraw({ displayControlsDefault: false, controls: { |