mhasbie / react-leaflet-vectorgrid

React wrapper of Leaflet.VectorGrid. Display gridded vector data (sliced GeoJSON or protobuf vector tiles) in Leaflet.
MIT License
19 stars 10 forks source link

`find` is undefined #6

Closed trevorgerhardt closed 5 years ago

trevorgerhardt commented 5 years ago

Is the intention to use a self written find function or the JavaScript Array#find? https://github.com/mhasbie/react-leaflet-vectorgrid/blob/master/src/VectorGrid.js#L306

Can open a PR with a fix for this also.

mhasbie commented 5 years ago

This issue is fixed in v2.2.0. Thanks for reporting.

P/s: Again, you are always welcome to open a PR. Thanks. ;)