Presentations
Templates
Features
Teams
Pricing
Log in
Sign up
Log in
Sign up
Menu
Leaflet: vozejkmap.cz
vozejkmap.cz
crowd sourced
open data (
Geo
JSON)
> 7,500 points (quite a lot)
Leaflet
our goal is to display all the points in the map with custom icons and clustering enabled
Step by Step
Create a map with a baselayer (OSM) centered on the Czech Republic
Load all the points at once from
Create styled L.circleMarker(s)
Bind popups onmouseclick
Cluster with
Leaflet.markercluster
Style markers with
Leaflet.awesome-markers
Cluster by chunks
var data;
Automation
Grab the code at
https://github.com/zimmicz/vozejkmap-to-postgis
Leaflet: vozejkmap.cz
By Michal Zimmermann
Made with Slides.com
Leaflet: vozejkmap.cz
1,386
Michal Zimmermann
zimmi.cz
zimmicz
More from
Michal Zimmermann