Skip to content

Bo-Duke/maplibre-screenshotter

Repository files navigation

maplibre-screenshotter

Demo

  1. Add some style.json urls
  2. Define coordinates, zoom and size
  3. ???
  4. Profit!! (if you have a way to profit from screenshots of basemaps)

Example

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

The generated screenshots don't have attributions, make sure to include some wherever you're going to display them