OptionalclearIf the value of this field should be cleared when it is conditionally hidden.
OptionalconditionalDynamically determines if the component is visible/available.
OptionaldefaultOnly specified to be able to type the submission data value. We do not see a use case for pre-selecting a particular location on a map component, as the SDK asks the user for their location anyway.
OptionaldefaultDefault zoom level, limited by Leaflet and the available tile service zoom levels.
Leaflet zoom level is a range of 1-20, but the Dutch tile service only supports up to level 13.
OptionaldescriptionOptionalerrorsAllows customizable errors to be displayed for each component when an error occurs. This is an object with the following keys: required min max minLength maxLength invalid_email invalid_date pattern custom
An object (keys listed above), values are the strings you wish to display. Each string has the {{ field }} to use within the string. Example. {"required": "{{ field }} is required. Try again."}
OptionalhiddenDetermines if the component should be within the form, but not visible. This can be overridden with the conditionals.
OptionalinitialCoordinates to center the map on initially.
OptionalinteractionsInteractions 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
OptionalisThe data key for this component (how the data is stored in the database, referenced as API key in docs).
The HTML label to give this component.
OptionalopenOptionaloverlaysOverlays to display on the map component.
Overlays are used to provide additional visual information to the map component. They can be used to show heat-maps, highlight certain points of interest, or provide additional context. WMS and WFS tile layers provide access to lower-level layers, to specify which parts of the entire data-collection should be shown in the map.
OptionalregistrationOptionalshowOptionalshowOptionalshowOptionaltileThe tile layer identifier used for the map component tile layer.
OptionaltileThe 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.
OptionaltooltipOptionaltranslatedOptionaluseIf true, the backend must apply the globally configured defaults to a particular
map instance. This results in populating defaultZoom and initialCenter, so for
the SDK this property has no effect.
OptionalvalidateOptionalvalidateThis will perform the validation on either "change" or "blur" of the input element.
Custom Formio component type.