Skip to content
C++ backend for the jupyter leaflet widget
Branch: master
Clone or download
Latest commit 0c8bf61 Jun 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs remove unused notebooks May 13, 2019
include/xleaflet position works & notebook Jun 13, 2019
notebooks Merge pull request #75 from VasavanThiru/add_widget_control Jun 13, 2019
share/xleaflet Add basemaps Apr 13, 2018
src widget control wip position May 15, 2019
test Prevent installation of gtest and update xwidgets Feb 1, 2019
.appveyor.yml update xtl, xeus, xwidgets, and xtensor Apr 9, 2019
.gitignore
.travis.yml update xtl, xeus, xwidgets, and xtensor Apr 9, 2019
CMakeLists.txt widget control wip position May 15, 2019
LICENSE Initial commit: xleaflet project skeleton Apr 4, 2018
README.md Release 0.7.0 Apr 9, 2019
basemap.gif Add screencasts Jul 8, 2018
environment.yml Release 0.7.0 Apr 9, 2019
geojson.gif Add screencasts Jul 8, 2018
readthedocs.yml Initial commit: xleaflet project skeleton Apr 4, 2018
splitmap.gif Add screencasts Jul 8, 2018
velocity.gif Add screencasts Jul 8, 2018
xleafletConfig.cmake.in Fix wrong copy/paste from xplot May 16, 2018

README.md

xleaflet

Travis 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 conda package manager.

  • Installing xleaflet and the C++ kernel
conda install xeus-cling xleaflet -c QuantStack -c conda-forge

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

  • Installing the extensions for the classic notebook
conda install widgetsnbextension -c conda-forge
conda install ipyleaflet -c conda-forge
  • Installing the JupyterLab extension
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 conda package manager.

xleaflet xwidgets xeus xtensor
master ~0.17.0 >=0.19.1,<0.20 >=0.20.1,<0.21
0.7.0 ~0.17.0 >=0.19.1,<0.20 >=0.20.1,<0.21
0.6.1 ~0.16.1 >=0.18.1,<0.19 >=0.19.1,<0.20
0.6.0 ~0.16.0 >=0.18.1,<0.19 >=0.19.1,<0.20
0.5.0 ~0.15.0 >=0.17.0,<0.18 >=0.19.0,<0.20
0.4.0 ~0.14.0 >=0.15.0,<0.16 >=0.18.1,<0.19
0.3.1 ~0.13.1 >=0.14.1,<0.15
0.3.0 ~0.13.0 >=0.13.0,<0.14
0.2.1 ~0.12.2 >=0.13.0,<0.14
0.2.0 ~0.12.0 >=0.13.0,<0.14
0.1.0 ~0.10.0 >=0.12.0,<0.13
0.0.1 ~0.9.0 >=0.12.0,<0.13

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.

You can’t perform that action at this time.