Нужно создать статическую карту mapbox программно (без браузера), например, https://docs.mapbox.com/mapbox.js/example/v1.0.0/custom-marker/, передав URL для значка в geoJson.
Примерно так: geojson:
{"type": "FeatureCollection", "features": [{"type": "Feature", "properties": {"title": "Маленький астронавт "," icon ": {" iconUrl ":" https://docs.mapbox.com/mapbox.js/assets/images/astronaut1.png", "iconSize": [50, 50], "iconAnchor": [25, 25], "popupAnchor": [0, -25], "className": "dot"}}, "geometry": {"type": "Point", "координаты": [-97.03125, 31.615965936476076]}}]}