{"id":25209960,"url":"https://github.com/backdrop-contrib/leaflet_widget","last_synced_at":"2025-07-27T17:05:28.885Z","repository":{"id":43689820,"uuid":"356616236","full_name":"backdrop-contrib/leaflet_widget","owner":"backdrop-contrib","description":"A Geofield widget that provides a Leaflet map form item and uses Leaflet.draw for adding and removing geometries.","archived":false,"fork":false,"pushed_at":"2024-09-06T07:16:47.000Z","size":587,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"1.x-1.x","last_synced_at":"2025-02-10T13:19:00.758Z","etag":null,"topics":["backdropcms","geocoding","leaflet","location","mapping","user-interface","widget"],"latest_commit_sha":null,"homepage":"https://backdropcms.org/project/leaflet_widget","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/backdrop-contrib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-10T15:06:00.000Z","updated_at":"2024-09-06T06:28:17.000Z","dependencies_parsed_at":"2024-02-29T09:47:03.804Z","dependency_job_id":null,"html_url":"https://github.com/backdrop-contrib/leaflet_widget","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fleaflet_widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fleaflet_widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fleaflet_widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fleaflet_widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/backdrop-contrib","download_url":"https://codeload.github.com/backdrop-contrib/leaflet_widget/tar.gz/refs/heads/1.x-1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247290891,"owners_count":20914772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backdropcms","geocoding","leaflet","location","mapping","user-interface","widget"],"created_at":"2025-02-10T13:19:03.872Z","updated_at":"2025-04-05T05:24:45.631Z","avatar_url":"https://github.com/backdrop-contrib.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Leaflet Widget\n\nA [Geofield](https://backdropcms.org/project/geofield) widget that provides a\nLeaflet map widget using the [Leaflet.draw](https://github.com/Leaflet/Leaflet.draw)\nlibrary for adding features.\n\nThe library ships with this module, no need for an extra download.\n\n*Leaflet Widget enables you to:*\n\n- Insert markers based on text search widget (off by default)\n- Create, edit and delete simple geometries: Point, Polyline, Polygon\n- Configure available geometry types per field\n- Supports single or multi-value Geofields (cardinality)\n- Uses base layers defined by the Leaflet module\n- API for additional base layers\n\n![Widget screenshot](https://raw.githubusercontent.com/backdrop-contrib/leaflet_widget/1.x-1.x/screenshots/widget.webp)\n\n## Installation\n\n- Install this module using the official \n  [Backdrop CMS instructions](https://docs.backdropcms.org/documentation/extend-with-modules)\n- Add or configure any Geofield to use the widget for input\n\n## Requires\n\n- Leaflet\n- Geofield\n\n## Issues\n\nBugs and Feature requests should be reported in the \n[Issue Queue](https://github.com/backdrop-contrib/leaflet_widget/issues)\n\n\n## Known Issues\n\nBecause of the way Geofield stores values, some types (circle, circlemarker)\nare not available. They could get drawn, but they couldn't get saved.\n\nThe API of this module has changed compared to Drupal. That was a necessary\nstep to make it useful.\n\n## Current Maintainers\n\n- [Indigoxela](https://github.com/indigoxela)\n\n## Credits\n\n- \"Ported\" to Backdrop by Indigoxela\n\nThis module is not really a port from the [Drupal version](https://www.drupal.org/project/leaflet_widget),\nbut rather a complete rewrite to get the Geofield widget working with a recent\nLeaflet (JS library) version. To achieve this it was necessary to get rid of the\nformerly used Leaflet.widget library.\n\nThis module bundles the [Leaflet.draw](https://github.com/Leaflet/Leaflet.draw)\nJavascript library by [Leaflet](http://leafletjs.com), which is\n[MIT](https://github.com/Leaflet/Leaflet.draw/blob/develop/MIT-LICENSE.md)\nlicensed.\n\nThe location search widget utilizes the [Nominatim API](https://nominatim.org/)\n via JavaScript (AJAX) to geocode text input into coordinates for markers.\n\n## License\n\nThis project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackdrop-contrib%2Fleaflet_widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackdrop-contrib%2Fleaflet_widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackdrop-contrib%2Fleaflet_widget/lists"}