Would it be technically possible to have Mapbox's compact vector tile format sent to the client (instead of PNG tiles), then rendered inside the browser with JS code?

Second question: when using TM2/Mapbox Studio, why are the tiles rendered remotely? Couldn't Mapnik be directly used locally to render the tiles? (still using remote data sources like Mapbox Streets)

  • 1
    Welcome to the site Erik. Please note that the format here is best suited for one question at a time. For further details please see gis.stackexchange.com/help – Aaron Aug 31 '14 at 14:14

Would it be technically possible to have Mapbox's compact vector tile format sent to the client (instead of PNG tiles), then rendered inside the browser with JS code?

Take a look here:

Second question : when using TM2/Mapbox Studio, why are the tiles rendered remotely?

They are rendered locally, in Mapbox Studio.

  • Hi Alex. Thanks for your reply. I'm already aware of Mapbox GL, it's awesome but my question was related to 'classical' vector tiles. When you say that the tiles are rendered locally in Mapbox Studio, do you mean by node or by JS on the client side? – Erik Sep 3 '14 at 8:06

Would it be technically possible to have Mapbox's compact vector tile format sent to the client (instead of PNG tiles), then rendered inside the browser with JS code

That's exactly what Mapbox-GL-JS does. Leaflet.MapboxVectorTile is another option, implemented as a plugin to Leaflet.

when using TM2/Mapbox Studio, why are the tiles rendered remotely? Couldn't Mapnik be directly used locally to render the tiles? (still using remote data sources like Mapbox Streets)

The Mapbox Studio you're referring to (now "Mapbox Studio Classic") does render tiles locally.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.