melowntech / vts-browser-js

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

addPolygon3 fails in webmercator projection #160

Closed skazemi closed 5 years ago

skazemi commented 5 years ago

Hi, in webmercator projection config as reference frame, proj becomes undefined and causes exception here: https://github.com/melowntech/vts-browser-js/blob/9749b5d58da63bdedc77a0784ef82514bbbde833/src/core/map/geodata-builder.js#L1124

davidmtech commented 5 years ago

Hi, thanks for contributing. Fix will be merged to the master branch.