<?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 — Verify that the object is out of scope]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=875</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=875&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Verify that the object is out of scope.]]></description>
		<lastBuildDate>Mon, 20 Aug 2018 00:31:53 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Verify that the object is out of scope]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3793#p3793</link>
			<description><![CDATA[<p>Thank you so much!</p>]]></description>
			<author><![CDATA[null@example.com (NovaEiz)]]></author>
			<pubDate>Mon, 20 Aug 2018 00:31:53 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3793#p3793</guid>
		</item>
		<item>
			<title><![CDATA[Re: Verify that the object is out of scope]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3791#p3791</link>
			<description><![CDATA[<p>Convert the geographic coordinate to a screen position, and compare with the screen size.<br />OnlineMapsControlBase.GetScreenPosition<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsControlBase.html#ae62dc7dc9d365e0fab178fb35214c35b">http://infinity-code.com/doxygen/online … b35214c35b</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sun, 19 Aug 2018 21:37:26 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3791#p3791</guid>
		</item>
		<item>
			<title><![CDATA[Re: Verify that the object is out of scope]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3790#p3790</link>
			<description><![CDATA[<p>Now I used it. Thanks again for the help)<br />But it&#039;s not quite that. Do you have methods to get the camera corners that look at the map? After all, the map of the visibility boundary is wider than that of the camera. I would like to use the visibility of the camera.</p><p>Can you help? Thanks for any help)</p>]]></description>
			<author><![CDATA[null@example.com (NovaEiz)]]></author>
			<pubDate>Sun, 19 Aug 2018 21:30:37 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3790#p3790</guid>
		</item>
		<item>
			<title><![CDATA[Re: Verify that the object is out of scope]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3787#p3787</link>
			<description><![CDATA[<p>Thx!)</p>]]></description>
			<author><![CDATA[null@example.com (NovaEiz)]]></author>
			<pubDate>Fri, 17 Aug 2018 18:13:18 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3787#p3787</guid>
		</item>
		<item>
			<title><![CDATA[Re: Verify that the object is out of scope]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3785#p3785</link>
			<description><![CDATA[<p>Hello.</p><p>Get the coordinates of the corners of the map and compare it with your coordinate.<br /></p><div class="codebox"><pre><code>public static bool InMapView(double lng, double lat)
{
    double tlx, tly, brx, bry;
    OnlineMaps.instance.GetCorners(out tlx, out tly, out brx, out bry);

    if (lat &gt; tly || lat &lt; bry) return false;
    if (tlx &lt; brx &amp;&amp; (lng &lt; tlx || lng &gt; brx)) return false;
    if (tlx &gt; brx &amp;&amp; lng &lt; tlx &amp;&amp; lng &gt; brx) return false;

    return true;
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 16 Aug 2018 10:39:53 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3785#p3785</guid>
		</item>
		<item>
			<title><![CDATA[Verify that the object is out of scope]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3784#p3784</link>
			<description><![CDATA[<p>Hello! Tell me how to check that the object is beyond the scope of the map camera? Using geographic coordinates for this purpose</p>]]></description>
			<author><![CDATA[null@example.com (NovaEiz)]]></author>
			<pubDate>Wed, 15 Aug 2018 18:14:38 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3784#p3784</guid>
		</item>
	</channel>
</rss>
