跳转到主要内容

A Jupyter widget for dynamic Leaflet maps

项目描述

ipyleaflet

Documentation Binder Join the Gitter Chat Downloads

一个Jupyter / Leaflet桥,允许在Jupyter笔记本中使用交互式地图。

用法

选择Leaflet地图的基本地图

Basemap Screencast

加载geojson地图

GeoJSON Screencast

使用leafletjs原语

Primitives Screencast

使用splitmap控件

Splitmap Screencast

在地图上显示速度数据

Velocity Screencast

分区块层

Choropleth Screencast

小部件控件

Widget Control

安装

使用conda

conda install -c conda-forge ipyleaflet

使用pip

pip install ipyleaflet

从源安装

对于开发安装(需要yarn,您可以使用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 .)

对于使用JupyterLab进行开发

jupyter labextension develop --overwrite jupyter_leaflet

文档

要开始使用ipyleaflet,请查看完整文档

https://ipyleaflet.readthedocs.io/

许可

我们使用共享版权模型,允许所有贡献者保持对其贡献的版权。

本软件根据MIT许可证授权。有关详细信息,请参阅LICENSE文件。

相关项目

ipyleaflet存储库包括jupyter-leaflet npm包,它是一个前端组件,以及作为Python Jupyter内核后端的ipyleaflet Python包。

类似地,xleaflet项目为“xeus-cling”C++ Jupyter内核提供了jupyter-leaflet的后端。

Xleaflet Screencast

项目详情


发布历史 发布通知 | RSS源

下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源代码发行版

ipyleaflet-0.19.2.tar.gz (28.7 kB 查看哈希值)

上传时间 源代码

构建发行版

ipyleaflet-0.19.2-py3-none-any.whl (31.4 kB 查看哈希值)

上传时间 Python 3

由以下组织支持