Simple arrow (vector/quiver) icon for folium
This package provides simple arrow (vector/quiver) icon for the folium package.
The size of the icon does not change as zoom level changes. It is useful for displaying vector field.
import math
import folium
from folium_arrow_icon import ArrowIcon
m = folium.Map(
location=[40.78322, -73.96551],
zoom_start=14,
)
folium.Marker(
[40.78322, -73.96551],
# by length and angle
icon=ArrowIcon(100, math.pi / 2)
).add_to(m)
folium.Marker(
[40.78322, -73.96551],
# by components of latitude and longitude directions
icon=ArrowIcon.from_comp([100, -50])
).add_to(m)
m.save("sample.html")
See document for more example.
You can install folium-arrow-icon from PyPI:
pip install folium-arrow-icon
Licence
MIT
Metadata
Release files for folium-arrow-icon 0.1.3
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 |
|---|---|---|---|---|
| folium_arrow_icon-0.1.3.tar.gz | 37.1 kB | Without provenance | Details for folium_arrow_icon-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| folium_arrow_icon-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for folium_arrow_icon-0.1.3-py3-none-any.whl |
Total release size: 42.2 kB
Release files / folium_arrow_icon-0.1.3.tar.gz
| Download URL | folium_arrow_icon-0.1.3.tar.gz |
|---|---|
| Size | 37.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85323fa7a269173f631b7399341bb9e1c2e386a9ec298694882bdb5ff9958deb
|
|
BLAKE2b-256 checksum How to use checksums |
5e0774018f985b3ee7c2b05919c7c09f95f9e514ca9686bb4299a8ed01eb040e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.2
|
Release files / folium_arrow_icon-0.1.3-py3-none-any.whl
| Download URL | folium_arrow_icon-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0aa78bf0ac0ff4c5e59265e3647758ee3ab1d2a83b4285679206f8215f5eb195
|
|
BLAKE2b-256 checksum How to use checksums |
1c3bc6f041351eb2be294984819cfaccd3e43c8f8f274bcb5d017535f0cdf654
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.2
|
Security for folium-arrow-icon 0.1.3
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.