mapbox/geojson-vt

Geojson linestring

aparzi opened this issue · 5 comments

This library support geojson which include linestring only?

thank you

Yes

@mourner
I uploaded a linestring geojson to the debug page but it doesn't render. The geojson file is correct

@mourner
my problem is that I have to zoom a lot to see the linestrings. Do you know why?

@aparzi geojson-vt filters out very small lines as a part of its simplification routine. You can disable the latter by passing tolerance: 0 in the options.

@mourner thanks.
Can I attach events (e.g. click) on features rendered by geojson-vt on openlayers?