Closed milesatstetson closed 1 year ago
Hi Miles As it says in the readme "the gridded data must include geographic data beyond the real values (this means at least one layer of surrounding null values)" This means that the null values are required to define the boundary of the contour plot.
Thank you! Set up my z array so everything is wrapped in a boundary of nulls and it now works for me.
Hello, I'm trying to understand why I'm getting a "TypeError: t[(r + 1)] is undefined" error when using the following based on Example "Simple" (https://jamesrunnalls.github.io/leaflet-contour/example/simple/ ):
Basically, just replacing the null values with numerical in the example seems to crash it sometimes? Not sure what is going on here.