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
For anyone else encountering this error, it was just some js syntax that needed to be updated. I suppose this is with the ES6 javascript variable requirements. There were 2 js errors I needed to get around:
error ReferenceError: len3 is not defined
I just defined len3 like so:
let len3
Also, I needed to change this line:
interpolVal = numerator/denominator;
to:
const interpolVal = numerator/denominator;
Hope that helps anyone else trying to use this library.
I am trying to create an interpolated leaflet layer in my Vue JS application.
I am receiving the following error when adding the idw layer to my map:
Here is my code:
If I don't addTo(), then the idw layer is created successfully.
console.log(idw) looks like this:
The latlngs array looks like this:
Any suggestions are greatly appreciated!
The text was updated successfully, but these errors were encountered: