Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Invalid LatLng object when using dx and dy in ASCII grid #28

Open
zacharyburnett opened this issue Aug 20, 2018 · 1 comment
Open

Invalid LatLng object when using dx and dy in ASCII grid #28

zacharyburnett opened this issue Aug 20, 2018 · 1 comment

Comments

@zacharyburnett
Copy link

When using an ASCII grid with different cell lengths in the x and y directions, I get this error:

Uncaught Error: Invalid LatLng object: (NaN, NaN)
    at new M (leaflet.js:5)
    at Object.C [as latLng] (leaflet.js:5)
    at e.value (Field.js:73)
    at e.value (VectorField.js:176)
    at new e (VectorField.js:83)
    at Function.value (VectorField.js:21)
    at leaflet_panes.js:111
    at d3.v4.min.js:2
    at Object.<anonymous> (d3.v4.min.js:2)
    at k.call (d3.v4.min.js:2)
@VictorVelarde
Copy link
Contributor

Library should allow different sizes in both dimensions, so the error could be in another part (coordinate system?). An online page showing this error could be helpful to diagnose the problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants