Please sign in to access this page
This API can provide a static image of a map of anywhere in the world, with convenient features like different map colour themes or adding pins to the map. I have wanted to be able to use a static map API for a while, but unfortunately most APIs currently available for this are paid or have very limited free tiers. I am hoping I can make my API available completely for free.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
I added actual input validation to the API so now you can't specify parameters that won't work, as well as limiting the size of images to 2000x2000px.
I made a website home page for the API to teach people how to use it. Also there is now a satellite theme, and some other minor bug fixes and adjustments.
Added many options for customising the map image - you can choose the coordinates to centre the map on, the zoom level, the colour theme, and add a marker. The API is also now documented in a README file.
Added a map page and updated the screenshot API endpoint to send a screenshot of the map. Currently the map is locked to longitude 0 latitude 0.
I set up the API server using Express and used Playwright to take a screenshot of a web page and serve it to the user. I will use this method to provide the static map once I add map functionality.