Wrapping vector tiles generated by geojson-vt

المشرف العام

Administrator
طاقم الإدارة
I've followed the example in geojson-vt, and am able to generate vector tiles from my geoJson source. However, I can't read these tiles with mapbox-gl-js or Leaflet.MapboxVectorTile because I don't seem to be wrapping the tiles in a protocol buffer correctly.

Is there an example or package that automate this protobuf encoding of vector tiles? I've looked at geobuf, but that does not appear to be able to handle the tiles from geojson-vt.



أكثر...
 
أعلى