An open API service indexing awesome lists of open source software.

https://github.com/bo-duke/maplibre-screenshotter

Generate PNG from your styles.json
https://github.com/bo-duke/maplibre-screenshotter

Last synced: 2 days ago
JSON representation

Generate PNG from your styles.json

Awesome Lists containing this project

README

        

# maplibre-screenshotter

[Demo](https://maplibre-screenshotter.netlify.app/)

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](./screenshot.png)

## Project Setup

```sh
npm install
```

### Compile and Hot-Reload for Development

```sh
npm run dev
```

### Compile and Minify for Production

```sh
npm run build
```

### Lint with [ESLint](https://eslint.org/)

```sh
npm run lint
```

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