Geolocation field and widget
This package provides a z3c.form field and a widget implementing LeafletJS from plone.patternslib to define Latitude / Longitude informations.
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 overriden
to change it (see @@geolocation-geojson-popup
view).
Limitations
Current branch is tested on Plone 5.2.x & Plone 6.0.x.
Translations
This product has been translated into
- French
Contribute
- Issue Tracker: https://github.com/collective/plone.formwidget.geolocation/issues
- Source Code: https://github.com/collective/plone.formwidget.geolocation
License
The project is licensed under the GPLv2.