djangocms-leaflet
This app provides plug-ins for the JavaScript map library Leaflet.
Table of Contents
Installation
pip install djangocms-leaflet
or add djangocms-leaflet to the dependencies of your project, e. g. in pyproject.toml:
dependencies = [
# …
'djangocms-leaflet',
# …
]
Add it to INSTALLED_APPS in the settings::
INSTALLED_APPS: list[str] = [
# …
'djangocms_leaflet',
# …
]
Usage
Add a map plugin to a placeholder and fill in the form. Add markers as sub plugins if needed.
In the template src/djangocms_leaflet/templates/djangocms_leaflet/map.html the tile server
of the OpenStreetMap website is defined. Make sure you comply with their usage policy or
use another tile server by replacing the tile server’s URL.
You can either specify latitude and longitude of the map or marker or enter a search term. If no coordinates are entered, they will be searched with Nominatim and the first hit in the result list location will be used as coordinates.
License
djangocms-leaflet is distributed under the terms of the MIT license.
Integrated library
| Name | Description | License |
|---|---|---|
| Leaflet | JavaScript library for maps | BSD-2-Clause license |
Metadata
Release files for djangocms-leaflet 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| djangocms_leaflet-0.0.6.tar.gz | 138.0 kB | Without provenance | Details for djangocms_leaflet-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| djangocms_leaflet-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for djangocms_leaflet-0.0.6-py3-none-any.whl |
Total release size: 269.9 kB
Release files / djangocms_leaflet-0.0.6.tar.gz
| Download URL | djangocms_leaflet-0.0.6.tar.gz |
|---|---|
| Size | 138.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a68dd67d7a795caccd695fb1d0c3f70c0e3613a3b822f708c543552bc8a72546
|
|
BLAKE2b-256 checksum How to use checksums |
588998b9ae87d4140f7472816fa94f22f7e21ea69b75e944077c5a798a3377c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Release files / djangocms_leaflet-0.0.6-py3-none-any.whl
| Download URL | djangocms_leaflet-0.0.6-py3-none-any.whl |
|---|---|
| Size | 131.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00005b92d3609a6c9ce60fb21d5ef924bbd81ef0a31d33240ac1a24041dd7252
|
|
BLAKE2b-256 checksum How to use checksums |
a5d7cceba5cbd94c4b671812f5a5e3835ccca09114c92649cf6bfbefc8ab00d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Security for djangocms-leaflet 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.