<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Get/Set current map scroll location center lat/lon coordinates]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=132</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=132&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Get/Set current map scroll location center lat/lon coordinates.]]></description>
		<lastBuildDate>Sun, 10 Apr 2016 11:17:40 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Get/Set current map scroll location center lat/lon coordinates]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=573#p573</link>
			<description><![CDATA[<p>Hello.</p><p>Single precision - OnlineMaps.position<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMaps.html#acde81704855130ca5eb2f083961edbce">http://infinity-code.com/doxygen/online … 83961edbce</a></p><p>Double precision - OnlineMaps.GetPosition / OnlineMaps.SetPosition<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMaps.html#a91ce37bbcffa6a90f06a68b84e75f062">http://infinity-code.com/doxygen/online … b84e75f062</a><br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMaps.html#a1aa95950865ecec7677236e65d01d9b7">http://infinity-code.com/doxygen/online … e65d01d9b7</a></p><p>Examples:<br /></p><div class="codebox"><pre><code>OnlineMaps.instance.position = new Vector2(10, 20); // X - Longitude, Y - Latitude</code></pre></div><div class="codebox"><pre><code>double lng, lat;
OnlineMaps.instance.GetPosition(out lng, out lat);
OnlineMaps.instance.SetPosition(lng, lat);</code></pre></div><p>Single precision - OnlineMapsMarkerBase.position<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsMarkerBase.html#aaeb6baa3068f0ee8a29a190a8c559dcd">http://infinity-code.com/doxygen/online … 0a8c559dcd</a></p><p>[Online Maps v2.4.0.4+] Double precision - OnlineMapsMarkerBase.GetPosition / OnlineMapsMarkerBase.SetPosition</p><p>Examples:<br /></p><div class="codebox"><pre><code>marker.position = new Vector2(10, 20); // X - Longitude, Y - Latitude</code></pre></div><div class="codebox"><pre><code>double lng, lat;
marker.GetPosition(out lng, out lat);
marker.SetPosition(lng, lat);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sun, 10 Apr 2016 11:17:40 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=573#p573</guid>
		</item>
		<item>
			<title><![CDATA[Get/Set current map scroll location center lat/lon coordinates]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=572#p572</link>
			<description><![CDATA[<p>How would I both get and set the current center of the map (at runtime) by inputting some lat/lon coordinates? Is there a function/method for this? If so, where/how would I use this? And if not, could anyone show me the code to do this?</p><p>I&#039;d also like to get/set marker coordinates too in realtime, but I can&#039;t seem to find any documentation on how to go about this. Any help would be much appreciated!</p>]]></description>
			<author><![CDATA[null@example.com (astraldata)]]></author>
			<pubDate>Sun, 10 Apr 2016 11:03:24 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=572#p572</guid>
		</item>
	</channel>
</rss>
