Topic: Convert geographic coordinates to world coordinates from off-map

In addition to the main camera, I have an auxiliary camera, which has fixed geographic coordinates. When I move the map, the auxiliary camera is sometimes not in the map. At this time, I need to get the real world coordinates of the auxiliary camera. I use OnlineMapsControlBase.instance.GetScreenPosition gets the screen coordinates of the auxiliary camera, and then uses mainCamera.ScreenToWorldPoint to convert the screen coordinates to world coordinates, but I found that this value is not correct, what should I do?

Re: Convert geographic coordinates to world coordinates from off-map

Hello.

OnlineMapsControlBaseDynamicMesh.GetWorldPosition
https://infinity-code.com/doxygen/onlin … 6316068362

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.