Jupyterlab ipyleaflet leaflet.js tutorial
25 Nov 2018Leaflet.js using the python package ipyleaflet (Kenya maps)
This project is a tutorial on leaflet.js using Jupyter notebooks through the ipyleaflet package/library
Github repository for the tutorial
The maps are kenyan maps rendered using leaflet.js through the python package ipyleaflet:
Getting Started
Prerequisites
Be running Jupyter. I use the anaconda installer: https://www.continuum.io/downloads
You’ll also need to install the library listed below, if you don’t have it
ipyleaflet
You can also follow instructions at:https://ipyleaflet.readthedocs.io/en/latest/
You can install it using pip like this
Windows: As admin open the anaconda prompt and run
pip install ipyleaflet
Linux:
sudo -H pip install ipyleaflet
or, if you have both python2 and 3 and need to install it with
sudo -H pip3 install ipyleaflet
Author
- Peter Otieno - peterakworo - LinkedIn
Acknowledgments
- To Pondi Brian and Wanjohi Kibui my GIS mentors.