You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Apologies if this issue is better suited for geojson-vt. I was torn on where to post and will happily transfer it if needed)
getTile returns an object that can be passed to geojson-vt, and appears to be the intermediate projected JSON produced by the convert method of geojson-vt. However, I don't see any methods for creating a vector tile using geojson-vt with this object. Is there an API that is not documented for this operation?
Of course, one could also call getClusters instead, and pass that resultant GeoJSON to geojson-vt and call getTile on that index instead. However, it seems like it would be faster to user supercluster's getTile method instead.
Thanks!
The text was updated successfully, but these errors were encountered:
Figured it out. The result of getTile isn't meant to be passed to geojson-vt - it is already a vector tile that can be serialized by something like vt-pbf. Sorry about that!
(Apologies if this issue is better suited for
geojson-vt
. I was torn on where to post and will happily transfer it if needed)getTile
returns an object that can be passed togeojson-vt
, and appears to be the intermediate projected JSON produced by the convert method ofgeojson-vt
. However, I don't see any methods for creating a vector tile usinggeojson-vt
with this object. Is there an API that is not documented for this operation?Of course, one could also call
getClusters
instead, and pass that resultant GeoJSON togeojson-vt
and callgetTile
on that index instead. However, it seems like it would be faster to user supercluster'sgetTile
method instead.Thanks!
The text was updated successfully, but these errors were encountered: