<?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 — getting GPS from screen position]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=722</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=722&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in getting GPS from screen position.]]></description>
		<lastBuildDate>Sun, 10 Dec 2017 02:08:06 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: getting GPS from screen position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3132#p3132</link>
			<description><![CDATA[<p>Ok, so I am learning more about your software, (and wishing I could code like this ... I am at a much more simple level). <br />Didn&#039;t realise that GetCoords&nbsp; actually comes from OnlineMapsTileSetControl.<br />This makes way more sense in what it does and options available. </p><p>So my problem originally was getting GPS from a screen position that was NOT under my mouse pointer. I couldn&#039;t see how that would work looking at OnlineMapsControlBase . </p><p>Anyway, once again, thanks for your knowledge (and patience), my problem is resolved by using GetCoords , so scratch my earlier suggestion, have removed my code from there. <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (kingsleyz)]]></author>
			<pubDate>Sun, 10 Dec 2017 02:08:06 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3132#p3132</guid>
		</item>
		<item>
			<title><![CDATA[Re: getting GPS from screen position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3131#p3131</link>
			<description><![CDATA[<p>Hello.</p><p>This does not make sense, because this method is overridden in the child classes.<br />Now we have marked this method abstract, so as not to confuse you and other users.<br />We have not done this before to reduce the number of compilation directives.</p><p>Why do you need GetCoordsFromScreen, if you can use GetCoords directly?</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sat, 09 Dec 2017 07:16:49 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3131#p3131</guid>
		</item>
		<item>
			<title><![CDATA[getting GPS from screen position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3129#p3129</link>
			<description><![CDATA[<p>Hi Alex, <br />noticed your code to get GPS from screen position in OnlineMapsControlBase is marked &quot;throw new NotImplementedException();&quot; ... about line 300.</p><p>I added new function building on existing one, actually just a 1 line change.</p><p>&nbsp; &nbsp; public virtual bool GetCoordsFromScreen(out double lng, out double lat, Vector2 position) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; return GetCoords(out lng, out lat, position);<br />&nbsp; &nbsp; }</p><p>This allows for example getting GPS coords from screen centre or some other spot rather than under mouse click.<br />Any chance of adding into next upgrade?<br />cheers</p>]]></description>
			<author><![CDATA[null@example.com (kingsleyz)]]></author>
			<pubDate>Fri, 08 Dec 2017 22:28:27 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3129#p3129</guid>
		</item>
	</channel>
</rss>
