Is there anyway to export mapBox map to PDF, PNG from web? -
we using mapbox api showing map in web. export map pdf or png including geojson data web. there way ?
you use static image api that, require add geojson map via mapbox:
static maps standalone images can displayed on web , mobile devices without aid of mapping library or api. static map image uses mapbox {mapid} , looks embedded map without interactivity or controls.
https://www.mapbox.com/developers/api/static/
if that's not option take leaflet.image plugin:
export images out of leaflet maps without server component, using canvas , cors.
Comments
Post a Comment