Ipyleaflet
A Jupyter - Leaflet.js bridge
Install / Use
/learn @jupyter-widgets/IpyleafletREADME
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.

Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
