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.

https://github.com/mapbox/leaflet-image


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -