Posted by tnightingale on October 3, 2012 at 10:18pm
A Geofield widget that provides a Leaflet map and uses the Leaflet widget plugin for adding and removing geometries. Leaflet.widget uses the Leaflet.draw geometry creation tools.
Features
- Create & manage simple geometries: Point, LineString, Polygon.
- Maintains complex geometries: MultiPoint, MultiLineString, MultiPolygon and GeometryCollection. (These can't be created yet but it won't mess with your existing data.)
- Delete geometries.
- Supports single or multi-value Geofields (cardinality).
- Use base layers defined by Leaflet module.
Installation tips:
- Download Leaflet.widget and place it in your libraries directory (see Libraries API).
- Requires Leaflet to be available. By default the version bundled with Leaflet.widget will be used. However if you have Leaflet module installed and Leaflet located at
path/to/libraries/leaflet, that version will be used. - This module requires the latest dev release of GeoPHP as there are issues with parsing GeoJSON in the latest stable release.
Requires:
- Libraries (2.x)
- Geofield (1.x) - no support for 2.x yet, see: #1834446: Support Geofield 2.x. Patches welcome!
Development sponsored by Affinity Bridge.
Downloads
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Fields, Location
- Reported installs: 124 sites currently report using this module. View usage statistics.
- Downloads: 471
- Last modified: November 7, 2012