Is there a way to get the latitude and longitude when a user click somewhere on a planetary.js globe? It's not in the planetary.js API, but is there a way to do it in d3.js? If there isn't how hard would it be to implement the solution?
Asked
Active
Viewed 444 times
1 Answers
4
After further digging into the D3 API if found that projection.invert([x,y])
returns [long,lat]
of the supplied coordinates.

qw3n
- 6,236
- 6
- 33
- 62