Skip to content

Commit

Permalink
🔥 [open-formulieren/open-forms#2177] Removing circle from the availab…
Browse files Browse the repository at this point in the history
…le map interactions

circle interaction is a leaflet custom thing, that isn't supported by geoJson. (To make it work, we would have to define the shape as a marker interaction, with extra custom properties).
Due to this reason, the registration apis don't/probably won't support this interaction.

For now, it would be better to not allow circle interactions
  • Loading branch information
robinmolen committed Jan 6, 2025
1 parent 5e2e2a2 commit 8567c7b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/formio/components/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export interface MapComponentSchema
* https://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html#drawoptions
*/
interactions?: {
circle: boolean;
polygon: boolean;
polyline: boolean;
marker: boolean;
Expand Down

0 comments on commit 8567c7b

Please sign in to comment.