melowntech / vts-browser-js

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

clickable polygon returning wrong feature. #183

Closed jrjdavidson closed 4 years ago

jrjdavidson commented 4 years ago

I created a series of polygons that I made clickabke through browser.on ('geo-feature-click', onFeatureClick)

Works as expected most of the time, however the polygon feature that is returned eventually gets out of sync with the data. This seems to be affected by the position that you are viewing from. See here: https://www.holoceneadventures.com/ivft2/ash2.html

jrjdavidson commented 4 years ago

This problem is only present if the "polygon-style": "flatshade" is set- otherwise it is fine.