<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — GetCorners]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2178&amp;type=atom" />
	<updated>2023-10-09T13:16:51Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2178</id>
		<entry>
			<title type="html"><![CDATA[Re: GetCorners]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9209#p9209" />
			<content type="html"><![CDATA[<p>Hello.</p><p>GetCorners returns the corners of the map, not its view on the screen.<br />If you want to get the coordinates of the screen corners, use OnlineMapsControlBase.GetCoords for the four corners of the screen.<br /><a href="https://infinity-code.com/doxygen/online-maps/classOnlineMapsControlBase.html#a72bc6d7e70fb588e1538352b5c474800">https://infinity-code.com/doxygen/onlin … 2b5c474800</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2023-10-09T13:16:51Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9209#p9209</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[GetCorners]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9208#p9208" />
			<content type="html"><![CDATA[<p>Hello, <br />I am using :&nbsp; OnlineMaps.instance.GetCorners(out xL,out yT,out xR,out yB); to get the boundaries of the map I display (2D, Tileset build using the standard instruction). These values, however do not corespond with the map area that I see displayed (both latitude and longitude seem to be 3 times wider than displayed. Is there an explanation, thanks.</p><p>What I actually need is latitude chnage per pixel and longitude change per pixel. I want to shift the mapview a number of pixels that I&#039;ve calculated.</p>]]></content>
			<author>
				<name><![CDATA[jaapvandriel]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1852</uri>
			</author>
			<updated>2023-10-09T11:32:25Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9208#p9208</id>
		</entry>
</feed>
