<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Tileset - Return Chosen Longitude and Latitude]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=20&amp;type=atom" />
	<updated>2015-08-09T16:48:02Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=20</id>
		<entry>
			<title type="html"><![CDATA[Re: Tileset - Return Chosen Longitude and Latitude]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=57#p57" />
			<content type="html"><![CDATA[<p>Thank you for the quick response, Alex. </p><p>Everything is working as intended now.</p>]]></content>
			<author>
				<name><![CDATA[WolfBeardedLion]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=28</uri>
			</author>
			<updated>2015-08-09T16:48:02Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=57#p57</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tileset - Return Chosen Longitude and Latitude]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=56#p56" />
			<content type="html"><![CDATA[<p>Hello.</p><p>This is because Vector2.ToString, by default shows the values to the first decimal. <br />Actually, Vector2 stores values in float.<br />Debug.Log (api.position.ToString(&quot;F4&quot;));<br />Debug.Log (api.position.x);</p><p>This is enough for most purposes.<br />If you need more accuracy, use OnlineMaps.GetPosition:<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMaps.html#a91ce37bbcffa6a90f06a68b84e75f062">http://infinity-code.com/doxygen/online … b84e75f062</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2015-08-09T14:21:30Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=56#p56</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Tileset - Return Chosen Longitude and Latitude]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=55#p55" />
			<content type="html"><![CDATA[<p>I am using Online Maps to create an iOS and Android app that will allow a user to select a longitude and latitude by using a customized version of the Tileset example. </p><p>I tried calling &quot;api.position&quot; (Coordinates of the center point of the map) to get the longitude and latitude of the center of the map once the user selects their chosen location, but this property of the class OnlineMaps only returns a number to its tenth decimal place (97.1, 34.6). I see in the editor that the OnlineMaps script in the inspector window does have the full latitude and longitude number going up to the hundred thousandth decimal place. </p><p>How can I retrieve these more detailed numbers through script so I can get a more precised location from the user?</p><p>Thank you in advance; Online Maps was very easy to jump into and has been wonderful experience so far.</p>]]></content>
			<author>
				<name><![CDATA[WolfBeardedLion]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=28</uri>
			</author>
			<updated>2015-08-09T14:10:15Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=55#p55</id>
		</entry>
</feed>
