You are awesome. That seems to work perfectly. I selected to top of the mountain in the crater and after entering lng/lat into your function it moved the cube to that location.
Hey if you like this project I would welcome any input or help on what I should add to it. Now I can parse my geoson and just feed in the lng/lat to your BP and then pass that to the SplineGenerator. So cool! Cheers!!!
It is very close but still off a bit. I added your function to the Mapbox_BP. Everything is hooked up so when you Send the Map to Unreal all the lng/lat data needed is also sent.
I tried to click the same location when zoomed at different level, but the values are slightly off. I donβt think the Zoom level changes the lng/lat. I think I just clicked slightly off the point.
When clicking the mouse on a location on the map, a cm in one direction would make that same change in lng/lat. How can you verify that you are clicking the exact same spot when you zoom?