This package provides a z3c.form field and a widget implementing LeafletJS from pat-leaflet to define Latitude / Longitude information.
This package is used as a dependency in some other Plone add-ons, like collective.geolocationbehavior but can also be used directly in your own content type schema:
from plone.formwidget.geolocation import GeolocationField ... geolocation = GeolocationField( title="Geolocation", description="Select the location of this content", )
The map marker has a popup containing object title / description (by default).
The template and/or the class used to generate the popup content can be overridden
to change it (see @@geolocation-geojson-popup
view).
- 3.0.x -> Plone 6.0.x
- 2.2.x -> Plone 5.2.x
This product has been translated into
- French
- Issue Tracker: https://github.com/collective/plone.formwidget.geolocation/issues
- Source Code: https://github.com/collective/plone.formwidget.geolocation
The project is licensed under the GPLv2.