Topic: How do I access the coordinates of my markers?

I have placed several markers using the keyboard shortcuts but I want to extract the GPS cordinates of each marker in script. How can I do this?

Re: How do I access the coordinates of my markers?

Hello.

2D markers are stored in OnlineMaps.markers.
http://infinity-code.com/doxygen/online … d037143575

To get or set the location use OnlineMapsMarkerBase.position.
http://infinity-code.com/doxygen/online … 0a8c559dcd

Example:

foreach (OnlineMapsMarker marker in OnlineMaps.instance.markers)
{
    Debug.Log(marker.position.ToString("F4"));
}
Kind Regards,
Infinity Code Team.

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