You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please tell me how to print the mouse pointer position in latitude and longitude in the console when I move mouse over the globe?
Actually I can't work out the inverse transformation properly and you might help in this regard please.
The text was updated successfully, but these errors were encountered:
It's an abandoned project that I haven't touch for almost a year now and it's really difficult to quickly give you an exact answer. I've had a look at this and can provide only the following guidance:
std::shared_ptr<Projector> projector; //!< Projects the globe to plane.
Since it's in GlobeViewer.cpp you can add an API method sending {x, y} and getting {lon, lat} pair in return using projector. Just don't forget to check return value for projectInv, false means you're out of the Globe (check the docs).
Can you please tell me how to print the mouse pointer position in latitude and longitude in the console when I move mouse over the globe?
Actually I can't work out the inverse transformation properly and you might help in this regard please.
The text was updated successfully, but these errors were encountered: