TerriaJS / nationalmap

Australia's NationalMap
https://nationalmap.gov.au
122 stars 45 forks source link

Click feature of Elevation dataset: LiDAR 25m DEM will trigger blank screen #1205

Closed t83714 closed 1 year ago

t83714 commented 1 year ago

Click feature of Elevation dataset: LiDAR 25m DEM will trigger blank screen

Only happen to Elevation dataset: LiDAR 25m DEM after the map is loaded, click the feature area (see 2nd screenshot) If first click doesn’t trigger the blank screen, you might need click multiple times.

With exception:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'PixelValue')
    at y.lookup (3.TerriaMap.js:91:1418)
    at g.escapedValue (3.TerriaMap.js:91:4523)
    at g.renderTokens (3.TerriaMap.js:91:3514)
    at g.render (3.TerriaMap.js:91:3215)
    at e.render (3.TerriaMap.js:91:5027)
    at o.value (3.TerriaMap.js:232:118218)
    at De (3.TerriaMap.js:15:7899)
    at 3.TerriaMap.js:15:121839
    at ye (3.TerriaMap.js:15:5804)
    at e.track (3.TerriaMap.js:15:17464)

image

image

t83714 commented 1 year ago

This issue seems also happen to previous version (0.0.20 with terriajs 8.2.22).

na9da commented 1 year ago

Fixed in prod - https://nationalmap.gov.au/#share=s-gr3iMI0Fib2WkC7JEZGR2RiDbyQ