webgl-globe

Get longitude and latitude from the Globe in WebGL

泪湿孤枕 提交于 2019-12-05 06:49:03
问题 I'm using WebGL globe from http://workshop.chromeexperiments.com/globe/. If any point of the globe is clicked, I need to get the longitude and latitude of that point. These parameters are to be passed to the Google Maps for 2D map. How can I get the long. and lat. from the webgl globe? Through this function I'm getting the double clicked point, and through this point I'm finding the long. and lat. But the results are not correct. It seems that the clicked point is not determined properly.