A Jupyter widget for dynamic Leaflet maps
Project description
ipyleaflet
A Jupyter / Leaflet bridge enabling interactive maps in the Jupyter notebook.
Usage
Selecting a basemap for a leaflet map:
Loading a geojson map:
Making use of leafletjs primitives:
Using the splitmap control:
Displaying velocity data on the top of a map:
Choropleth layer:
Widget control
Installation
Using conda:
conda install -c conda-forge ipyleaflet
Using pip:
pip install ipyleaflet
Installation from sources
For a development installation (requires yarn, you can install it with conda install -c conda-forge yarn
):
git clone https://github.com/jupyter-widgets/ipyleaflet.git
cd ipyleaflet
(cd python/jupyter_leaflet; pip install -e .)
(cd python/ipyleaflet; pip install -e .)
For developing with JupyterLab:
jupyter labextension develop --overwrite jupyter_leaflet
Documentation
To get started with using ipyleaflet
, check out the full documentation
https://ipyleaflet.readthedocs.io/
License
We use a shared copyright model that enables all contributors to maintain the copyright on their contributions.
This software is licensed under the MIT license. See the LICENSE file for details.
Related projects
The ipyleaflet
repository includes the jupyter-leaflet
npm package, which
is a front-end component, and the ipyleaflet
python package which is the
backend for the Python Jupyter kernel.
Similarly, the xleaflet
project
provides a backend to jupyter-leaflet
for the "xeus-cling" C++ Jupyter
kernel.
Project details
Release history Release notifications | RSS feed
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
Hashes for ipyleaflet-0.19.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cc9157848baca2e1793b96e79f8bdb1aa7340521d2b7d8a62aa8bc30eab5278 |
|
MD5 | 7899f8fcfcd0c34ef67bbef902e49c75 |
|
BLAKE2b-256 | 566f00d60e93a316a178ae04457ceea5bcbb4e2d7e7e469882ac59ec4cccfb8c |