procedural-gl-js
procedural-gl-js copied to clipboard
Get world coordinates from user click
Hi, don't know if this is already possible, but it would be very useful to have a kind of callback to get the world coordinates where the user clicked. This would serve several purposes:
- Letting the user click on a map coordinate and focusOnLocation;
- Get the world coordinates from user click, so the user can create custom overlays or even draw on map
Hi @dotesfera thanks for the suggestion, that is indeed a good idea. I'll try and add this.
Related, can we get a unproject method to get pixel screen coords of a lat long position?