Skip to content

🌍 A simple script for taking automated screenshots from a Leaflet map

License

Notifications You must be signed in to change notification settings

wbkd/leaflet-mapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leaflet Mapshot

A script for generating automated screenshots of a local Leaflet map. We used it to create the video in this article https://interaktiv.morgenpost.de/mauerzeichnen-auswertung/.

How does it work?

When you run the script it uses puppeteer to make screenshots for every GeoJSON file that is under geojsons. You can adjust the config.json for changing tileLayer, zoom and center.

Usage

npm start

About

🌍 A simple script for taking automated screenshots from a Leaflet map

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published