melowntech / vts-browser-js

JavaScript WebGL 3D map rendering engine
BSD 2-Clause "Simplified" License
220 stars 42 forks source link

TypeError in MapGeodataBuilder.prototype.processHeights (v2.21.8 minified) #176

Closed skazemi closed 4 years ago

skazemi commented 4 years ago

line: https://github.com/melowntech/vts-browser-js/blob/a598942de4cc23b1c354153087103a919339e27c/src/core/map/geodata-builder.js#L1454

Uncaught TypeError: Cannot read property 'coords' of null at c.processHeights (vts-browser.min.js:formatted:15913) at A.callListener (vts-browser.min.js:formatted:2401) at j.update (vts-browser.min.js:formatted:18549) at A.onUpdate (vts-browser.min.js:formatted:2423)

davidmtech commented 4 years ago

Can you write me more information about how to replicate this behavior. I can test in code whether is "item" variable defined. But I would like to know how it happen in first place.