Skip to content

Commit

Permalink
Fix reading existing mapbox-gl-draw modes after upgrading to mapbox-g…
Browse files Browse the repository at this point in the history
…l-draw 1.4.3
  • Loading branch information
zakjan committed Dec 31, 2023
1 parent 4652198 commit f6ca244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import MapboxDraw from '@mapbox/mapbox-gl-draw';
export const { cursors, geojsonTypes, events, meta, activeStates } = MapboxDraw.constants;

export const modes = {
...MapboxDraw.modes,
...MapboxDraw.constants.modes,
DRAW_CIRCLE: 'draw_circle'
};

Expand Down

0 comments on commit f6ca244

Please sign in to comment.