<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — How to get Latitude and longitude of 2D marker in the array?]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=677&amp;type=atom" />
	<updated>2017-10-10T09:30:41Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=677</id>
		<entry>
			<title type="html"><![CDATA[Re: How to get Latitude and longitude of 2D marker in the array?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2913#p2913" />
			<content type="html"><![CDATA[<p>Thank you very much, Alex Vertax!</p>]]></content>
			<author>
				<name><![CDATA[Rumata]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=537</uri>
			</author>
			<updated>2017-10-10T09:30:41Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2913#p2913</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to get Latitude and longitude of 2D marker in the array?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2910#p2910" />
			<content type="html"><![CDATA[<p>Hello.</p><div class="codebox"><pre><code>Vector2 pos = marker.position; // X - Longitude, Y - Latitude</code></pre></div><p>or<br /></p><div class="codebox"><pre><code>double lng, lat;
marker.GetPosition(out lng, out lat);</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-10-10T00:41:50Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2910#p2910</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How to get Latitude and longitude of 2D marker in the array?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2909#p2909" />
			<content type="html"><![CDATA[<p>Hello,<br />How can I get Latitude and Longitude of each marker as 2 float values, while through the array of 2D markers using:</p><div class="codebox"><pre><code>foreach (OnlineMapsMarker marker in OnlineMaps.instance.markers.Where(m =&gt; m.tags.Contains(&quot;MyTag&quot;)))
        {
                        // float Lat = &quot;LatitudeOfTheMarker&quot;;
                        // float Long = &quot;LongitudeOfTheMarker&quot;
                        // SomeFunction(Lat, Long);

        }</code></pre></div><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[Rumata]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=537</uri>
			</author>
			<updated>2017-10-09T23:02:00Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2909#p2909</id>
		</entry>
</feed>
