1 (edited by Quidam 2016-04-21 20:58:56)

Topic: [Solved] World Coordinates of a Map Marker

If I want to have the camera follow a marker on the map, is there a way to get the world coordinates of a marker instead of its latitude and longitude? I don't mean that I want the map to follow and stay centered on the marker, as that's easy enough to do given the examples provided.

Would I have to make the camera a marker of its own? Is that even possible?

Thanks!

Re: [Solved] World Coordinates of a Map Marker

Hello.

Use OnlineMapsTileSetControl.GetWorldPosition.
http://infinity-code.com/doxygen/online … ea663abc1f

Example:

Vector3 worldPosition = OnlineMapsTileSetControl.instance.GetWorldPosition (marker.position);
Kind Regards,
Infinity Code Team.

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

Re: [Solved] World Coordinates of a Map Marker

That's just the thing. Thanks!