loading... Pacem JS

Map-Based Input

PacemLatLngElement is the webcomponent that handles georeferenced values.

The managed value is an object having the following structure: { "lat": number, "lng": number }.

Metadata

PacemLatLngElement can be injected into an autogenerating form the following way:

[ {"prop": "position", "type": "complex", "dataType": "latLng", "display": { "name": "Position" }, "extra": { "icon": { "url": "/assets/pp_w_s.png", "size": {"width": 45, "height": 45}, "anchor": {"x": 15, "y": 45} }, "mousewheel": false } } ]