Modern Webpage Whites Out.

Marco Nieves3 years ago

Legacy page works but Modern fails with error below.

Error: Invalid LngLat latitude value: must be between -90 and 90
    at new Hc (lng_lat.ts:42:19)
    at Hc.convert (lng_lat.ts:140:20)
    at Uc.extend (lng_lat_bounds.ts:89:47)
    at MapDefaultCamera.js:30:70
    at Array.reduce (<anonymous>)
    at MapDefaultCamera.js:30:38
    at zl (react-dom.production.min.js:262:359)
    at t.unstable_runWithPriority (scheduler.production.min.js:18:343)
    at Zn (react-dom.production.min.js:122:325)
    at Rl (react-dom.production.min.js:261:308)
Anton Tananaev3 years ago

Seems like you have invalid coordinates somewhere.

Marco Nieves3 years ago

Understood right now I am testing my setup . what should be done in this circumstance is there away to prevent coordinates beyond the expected parameters be inserted? It seems the legacy page is tolerant to the problem is making the modern page tolerant something that can be done?.

i will try to remove the offending coordinate while i await your response. Thank you

Anton Tananaev3 years ago

Create a ticket on GitHub and we can fix it.

Marco Nieves3 years ago

Got it Thank you Anton.