How to either cache or serve locally tm2 vector tiles downloaded from mapbox studio

المشرف العام

Administrator
طاقم الإدارة
I'm trying to locally host / serve / cache a set of tiles for a very small geographic area in a mapbox js application I'm building. I've been searching for a way to do this, but most of the info I've come across seems to center around mbtiles - which it doesn't seem that mapbox studio gives you the ability to export any more. The only option I'm aware of is to download a package in the form of "tm2z".

How would I host this package locally? Or how would I export an mbtiles package?

I've seen this thread:Using Mapbox Studio (aka Tilemill 2) to create a self-hosted map

which was somewhat helpful in understanding the process, but I'm still lost as to how to get a data source one of these servers would understand.



أكثر...
 
أعلى