Skip to content

Commit

Permalink
✨ [open-formulieren/open-forms#2177] Added interactions property to M…
Browse files Browse the repository at this point in the history
…apComponentSchema
  • Loading branch information
robinmolen committed Dec 11, 2024
1 parent 6a13055 commit 8503008
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/formio/components/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ export interface MapComponentSchema
* component from the backend.
*/
tileLayerUrl?: string;
/**
* Interactions users can use when working with the map component.
*
* These interaction options are based on the options available in leaflet draw:
* https://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html#drawoptions
*/
interactions?: {
circle: boolean;
polygon: boolean;
polyline: boolean;
marker: boolean;
};
/**
* If true, the backend must apply the globally configured defaults to a particular
* map instance. This results in populating `defaultZoom` and `initialCenter`, so for
Expand Down

0 comments on commit 8503008

Please sign in to comment.