JamesRunnalls / leaflet-contour

A customisable Leaflet contour plugin. Uses d3-contour under the hood.
14 stars 3 forks source link

Scaling Issue? #3

Open milesatstetson opened 1 year ago

milesatstetson commented 1 year ago

I'm having an issue scaling up the grid to the size that I would like it to be, ideally 202 x 90 (example attached below). Not sure what is going on, seem to be getting errors like the attached ( "TypeError: t[(r + 1)] is undefined"). Seems to work fine on smaller grids ( i.e. 20 x 20, 4 x 65, or 65 x 4 ) or if many of the cells are null.

console-export-2022-10-12_14-20-45.txt

data_array_large.txt