In the project, I launched the api nodejs rest API, which launches a chromium instance using puppeteer, takes a screenshot of the map using long lat, and then returns the image as base64. Perhaps it would be more efficient to generate a server-side image of the map using a flyer or something else rather than taking a screenshot of the browser.
https://github.com/lastlink/re-store/tree/master/webscraper
source share