NASA-IMPACT / EIC-Mobile

EIC Mobile Concept
https://earth.gov/mobile-climate-mapper/
1 stars 0 forks source link

lastKnownPoint is not being set correctly on click/drag #60

Open freitagb opened 1 month ago

freitagb commented 1 month ago

When I click/drag the cursor over the ocean the lastKnownPoint goes back to the default value. I think it's being set to the default location when there is an invalid response from the API and it's overwriting the lastKnownPoint values in Line 497

Other lines in the code where we set the lastKnownPoint in Map.jsx

Line 193

Line 376

Line 450