Skip to content

Commit

Permalink
Merge pull request #61 from open-formulieren/feature/2173-map-background
Browse files Browse the repository at this point in the history
Added property for automatic calculated tile layer url
  • Loading branch information
robinmolen authored Dec 9, 2024
2 parents 2bdb636 + c5fbbe7 commit 1831064
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/formio/components/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ export interface MapComponentSchema
* The tile layer identifier used for the map component tile layer.
*/
tileLayerIdentifier?: string;
/**
* The url belonging to the connected tile layer object, determined by
* tileLayerIdentifier.
*
* This value should not be definable by admins, but should be fetched
* from the related tile layer object. This happens when fetching the
* component from the backend.
*/
tileLayerUrl?: string;
/**
* 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 1831064

Please sign in to comment.