Recommended releases

Download Links

A Geofield widget that provides a
Leaflet map widget using the Leaflet.draw
library for adding features.

The library ships with this module, no need for an extra download.

Leaflet Widget enables you to:

  • Create, edit and delete simple geometries: Point, Polyline, Polygon
  • Configure available geometry types per field
  • Supports single or multi-value Geofields (cardinality)
  • Uses base layers defined by the Leaflet module
  • API for additional base layers

Installation

Requires

  • Leaflet
  • Geofield

Issues

Bugs and Feature requests should be reported in the
Issue Queue

Known Issues

Values are stored as GeoJSON in Geofields, so some types (circle,
circlemarker) are not available. They could get drawn, but they can not get
saved.

The API of this module has changed compared to Drupal. That was a necessary
step to make it useful.

Current Maintainers

Credits

  • "Ported" to Backdrop by Indigoxela

This module is not really a port from the Drupal version,
but rather a complete rewrite to get the Geofield widget working with a recent
Leaflet (JS library) version. To achieve this it was necessary to get rid of the
formerly used Leaflet.widget library.

This module bundles the Leaflet.draw
Javascript library by Leaflet, which is
MIT
licensed.

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.