Skip to main content

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 hashes)

Uploaded Source

Built Distribution

foliumEllipsis-0.0.6-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page