www.dash-leaflet.com Open in urlscan Pro
216.24.57.253  Public Scan

Submitted URL: http://dash-leaflet.com/
Effective URL: https://www.dash-leaflet.com/
Submission: On January 14 via manual from CR — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Dash Leaflet
1.0.13
DL

Getting Started
Functional Properties
Events
GeoJSON Tutorial
Migration
Component API Reference
MapContainer
UI Layers
DivMarkerMarkerPopupTooltip
Raster Layers
ImageOverlayTileLayerVideoOverlayWmsTileLayer
Vector Layers
CircleCircleMarkerGeojsonPolygonPolylinePolylineDecoratorRectangleSvgOverlay
Controls
AttributionControlColorbarEasyButtonEditControlFullScreenControlGestureHandlingLayersControlLocateControlMeasureControlScaleControl
Misc
BaseLayerFeatureGroupLayerGroupOverlayPane


Dash Leaflet is a wrapper of Leaflet, the leading open-source JavaScript library
for interactive maps. The syntax is similar to other Dash components, with
naming conventions following React-Leaflet.




The easiest way to get started is to install the latest versions of dash-leaflet
via pip,

pip install dash-leaflet

Once the installation is completed, paste the following lines of code into a .py
file and run it,

from dash import Dash
import dash_leaflet as dl


app = Dash()
app.layout = dl.Map(dl.TileLayer(), center=[56,10], zoom=6, style={'height': '50vh'})


if __name__ == '__main__':
    app.run_server()

That's it! If you visit http://127.0.0.1:8050/ in your browser, you should see a
Leaflet map.








Made with
by Emil Haldrup Eriksen
Table of Contents
Home
Quick start
Contributors