Home

Awesome

xleaflet

Azure Pipelines Appveyor Documentation Binder Join the Gitter Chat

C++ backend for the jupyter-leaflet map visualization library

Usage

Selecting a base layer for a map:

Basemap Screencast

Loading a geojson dataset:

GeoJSON Screencast

Using the splitmap control:

Splitmap Screencast

Displaying velocity data on the top of a map:

Velocity Screencast

Installation

We provide a package for the mamba (or conda) package manager.

mamba install xeus-cling xleaflet -c conda-forge

Then, the front-end extension must be installed for either the classic notebook or JupyterLab.

mamba install widgetsnbextension -c conda-forge
mamba install ipyleaflet -c conda-forge
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install jupyter-leaflet

Installation from sources

Or you can directly install it from the sources if you have all the dependencies already installed:

cmake -D CMAKE_INSTALL_PREFIX=your_install_prefix
make install

Trying it online

To try out xleaflet interactively in your web browser, just click on the binder link:

Binder

Documentation

To get started with using xleaflet, check out the full documentation

http://xleaflet.readthedocs.io/

Dependencies

All the dependencies of xleaflet are available for the mamba package manager.

xleafletxwidgetsxeusxtensor
master~0.27.0>=3.0.0,<4.0.0>=0.23.0,<0.24
0.17.0~0.27.0>=3.0.0,<4.0.0>=0.23.0,<0.24
0.16.0~0.26.0>=2.0.0,<3.0.0>=0.23.0,<0.24
0.15.0~0.25.0>=1.0.0,<2.0.0>=0.23.0,<0.24
0.14.0~0.25.0>=1.0.0,<2.0.0>=0.23.0,<0.24
0.13.1~0.22.0>=0.24.0,<0.26>=0.20.8,<0.22
0.13.0~0.22.0>=0.24.0,<0.26>=0.20.8,<0.22
0.12.0~0.22.0>=0.24.0,<0.25>=0.20.8,<0.22

License

We use a shared copyright model that enables all contributors to maintain the copyright on their contributions.

This software is licensed under the BSD-3-Clause license. See the LICENSE file for details.