Skip to content

jazkarta/plone.formwidget.geolocation

 
 

Repository files navigation

Geolocation field and widget

CI Status

This package provides a z3c.form field and a widget implementing LeafletJS from pat-leaflet 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).

Versions

  • 3.0.x -> Plone 6.0.x
  • 2.2.x -> Plone 5.2.x

Translations

This product has been translated into

  • French

Contribute

License

The project is licensed under the GPLv2.

About

Geolocation field and widget (z3c.forms) for use with collective.geolocationbehavior

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 73.4%
  • Makefile 22.6%
  • JavaScript 3.0%
  • Shell 1.0%