Package to add Ellipsis Drive layers to folium
Project description
Ellipsis Drive Python Package
This package helps you to add Ellipsis Drive layers to your Folium map.
You can install this package using
pip install foliumEllipsis
Examples
Raster layer
To add a raster layer you can use the following code:
import folium as f
from folium_vectortilelayer import VectorTileLayer
from foliumEllipsis import addEllipsisRasterLayer
map = f.Map()
pathId = '93e1c322-f21e-4395-9566-51abf473d2b9'
ED_layer = addEllipsisRasterLayer(pathId)
ED_layer.add_to(map)
map
Vector layer
To add a vector layer you can use the following code
import folium as f
from folium_vectortilelayer import VectorTileLayer
from foliumEllipsis import addEllipsisVectorLayer
map = f.Map()
pathId = '8a11c27b-74c3-4570-bcd0-64829f7cd311'
ED_layer = addEllipsisVectorLayer(pathId, style=styleId)
map.add_child(ED_layer)
map
Documentation
Raster layer options
Name | Description |
---|---|
pathId | id of the path |
timestampId | id of the timestamp |
style | id of the style or a dictionary describing it |
zoom | maxZoomlevel of the layer. |
token | token of the user |
Vector layer options
Name | Description |
---|---|
pathId | id of the path |
timestampId | id of the timestamp |
style | id of the style or a dictionary describing it |
zoom | maxZoomlevel of the layer |
token | token of the user |
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
foliumEllipsis-0.0.6.tar.gz
(4.7 kB
view details)
Built Distribution
File details
Details for the file foliumEllipsis-0.0.6.tar.gz
.
File metadata
- Download URL: foliumEllipsis-0.0.6.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/6.8.0 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41b5afcbaa798fada06a5f60f034ed4a480528456f6f7bdb670961566eb28e14 |
|
MD5 | 64a992609a48f5962451f388b068d728 |
|
BLAKE2b-256 | dda9a91e1be37c5a50df11da1b8f820916d1ca79e7faab185c3a80c28773c190 |
File details
Details for the file foliumEllipsis-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: foliumEllipsis-0.0.6-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/6.8.0 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6348c846f1040f7208338799284b6d0fc02986c43213da3b75d51ebdbb8696b2 |
|
MD5 | b1ee69bacfe5034acf345768c95524ff |
|
BLAKE2b-256 | 866501770dd9e81c79230b336d775d648312ac953259134fb3d06450ed8a3c99 |