An API Map Static based on WMS service. The map is generated by a simple HTTP request and generates an image that you can display on your web page or in print media.
docker run --rm -p 7000:80 $(docker build -q --pull .)
Customize the generator by settings your env var MAPSTATIC_CONFIG like a JSON string (interpreted like an Axios config) :
MAPSTATIC_CONFIG = '{"url": "https://wms.openstreetmap.fr/wms", "params":{"format":"image/jpg", "transparent":"true"}}'
For example, we are going to generate a map static image of Arras, France
http://localhost:7000/static?height=400&width=400&lat=50.292000&lon=2.780000&zoom=14&layers=orthohr_2018