Clustered static map from Mapbox

363 views Asked by At

I'm trying to extract static maps using Mapbox's Static Images API. The goal is to embed these images into an HTML page/email etc. Here is a sample that I was able to generate successfully which is at zoom level 13 using custom styles I built on Mapbox Studio:

EV NY

However, I need a similar static map that could be similarly extracted from Mapox's Static Image API in a clustered view when zoomed out. I've found that Mapbox doesn't support clustering via Mapbox studio (styles) so I'm running out of options on how to achieve this. I was able to come up with the below-clustered view (screenshot) using Html/javascript but then again, can't seem to figure how to retrieve a static image out of it:

enter image description here

Static Image API playground - https://docs.mapbox.com/playground/static/

0

There are 0 answers