Leaflet widget for trame
Project description
trame-leaflet extends trame widgets with components from vue-leaflet.
This package is under the same MIT License as Vue-Leaflet which that library embeds.
Leaflet integration in trame allows you to create map views with useful widgets.
How to use it?
Using the Python library
# for vue2
from trame.widgets import leaflet2 as leaflet
# for vue3
from trame.widgets import leaflet3 as leaflet
with leaflet.LMap(zoom=("zoom", 15), center=("center", [51.505, -0.159])):
leaflet.LTileLayer(url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png")
leaflet.LMarker(lat_lng=("markerLatLng", [51.504, -0.159]))
JavaScript dependency
This Python package bundle the leaflet@1.8.0 and vue2-leaflet@2.7.1 JavaScript libraries. For vue3 we also bundle @vue-leaflet/vue-leaflet@0.10.1 JavaScript librarie. If you would like us to upgrade it, please reach out.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trame_leaflet-1.2.4.tar.gz.
File metadata
- Download URL: trame_leaflet-1.2.4.tar.gz
- Upload date:
- Size: 938.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b737f670e9d57dbec8609ea9c2007c0ffa2361338ec8e355706e4bbb94ba30a
|
|
| MD5 |
ce7270bf237d2912eb68bab542112525
|
|
| BLAKE2b-256 |
012162e130d8308f6054031bee9aa3b71c1404184d5f998d1914395a3e3be9a4
|
Provenance
The following attestation bundles were made for trame_leaflet-1.2.4.tar.gz:
Publisher:
test_and_release.yml on Kitware/trame-leaflet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trame_leaflet-1.2.4.tar.gz -
Subject digest:
2b737f670e9d57dbec8609ea9c2007c0ffa2361338ec8e355706e4bbb94ba30a - Sigstore transparency entry: 179491310
- Sigstore integration time:
-
Permalink:
Kitware/trame-leaflet@c77289e447c70cfb0ba26c3056698d14873eb8a8 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Kitware
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test_and_release.yml@c77289e447c70cfb0ba26c3056698d14873eb8a8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file trame_leaflet-1.2.4-py3-none-any.whl.
File metadata
- Download URL: trame_leaflet-1.2.4-py3-none-any.whl
- Upload date:
- Size: 950.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d81ca583433eb2f47e719b73631ac8e9e41f2595feba7e5c1ddbba417e596ffd
|
|
| MD5 |
f2ebd6eb143bf40e738958033649d52e
|
|
| BLAKE2b-256 |
e030dc47693d378129962907ca04eefe07a375bf9aa8029f945bf8308f3efa53
|
Provenance
The following attestation bundles were made for trame_leaflet-1.2.4-py3-none-any.whl:
Publisher:
test_and_release.yml on Kitware/trame-leaflet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trame_leaflet-1.2.4-py3-none-any.whl -
Subject digest:
d81ca583433eb2f47e719b73631ac8e9e41f2595feba7e5c1ddbba417e596ffd - Sigstore transparency entry: 179491314
- Sigstore integration time:
-
Permalink:
Kitware/trame-leaflet@c77289e447c70cfb0ba26c3056698d14873eb8a8 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Kitware
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test_and_release.yml@c77289e447c70cfb0ba26c3056698d14873eb8a8 -
Trigger Event:
push
-
Statement type: