<?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 — Horizon issues]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1278</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1278&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Horizon issues.]]></description>
		<lastBuildDate>Tue, 16 Jul 2019 13:22:46 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Horizon issues]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5312#p5312</link>
			<description><![CDATA[<p>Thank you Alex, I am really grateful</p>]]></description>
			<author><![CDATA[null@example.com (Amen)]]></author>
			<pubDate>Tue, 16 Jul 2019 13:22:46 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5312#p5312</guid>
		</item>
		<item>
			<title><![CDATA[Re: Horizon issues]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5279#p5279</link>
			<description><![CDATA[<p>The script, with the support of the cache is attached.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 09 Jul 2019 21:34:42 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5279#p5279</guid>
		</item>
		<item>
			<title><![CDATA[Re: Horizon issues]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5256#p5256</link>
			<description><![CDATA[<p>thank youuuuuuuuuuuuuu</p>]]></description>
			<author><![CDATA[null@example.com (Amen)]]></author>
			<pubDate>Tue, 02 Jul 2019 14:09:30 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5256#p5256</guid>
		</item>
		<item>
			<title><![CDATA[Re: Horizon issues]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5248#p5248</link>
			<description><![CDATA[<p>1. If you want to get elevations from Elevation Manager, then you need to use a point in the scene, relative to top left corner of the map.<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsElevationManagerBase.html#a760ac2ee70a31e922011b2a7c3d53b97">http://infinity-code.com/doxygen/online … a7c3d53b97</a><br />You are using Mercator position, which is wrong.</p><p>2. The updated script is attached.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 28 Jun 2019 16:10:16 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5248#p5248</guid>
		</item>
		<item>
			<title><![CDATA[Re: Horizon issues]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5247#p5247</link>
			<description><![CDATA[<p>1.I just need elevation of the lat,long of a scpecific point(in most case the center of the map ) ,my code seems to be wrong becaude values that i get seems to be different from the real world<br />public class GetElevationArcGIS : MonoBehaviour {<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; double px, py;<br />&nbsp; &nbsp; public GameObject container; <br />&nbsp; &nbsp; OnlineMaps map;<br />&nbsp; &nbsp; private OnlineMapsTileSetControl control;<br />&nbsp; &nbsp; private void Start()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; map = OnlineMaps.instance;<br />&nbsp; &nbsp; &nbsp; &nbsp; control = OnlineMapsTileSetControl.instance;</p><p>&nbsp; &nbsp; }<br />&nbsp; &nbsp; private void Update()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; float elevation = GetElevation(49.0083899664f, 2.53844117956f);<br />&nbsp; &nbsp; &nbsp; &nbsp; Debug.Log(elevation);<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; private float GetElevation(float mx,float my)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; float elevation = 0;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; OnlineMapsUtils.LatLongToMercat(ref mx, ref my);<br />&nbsp; &nbsp; &nbsp; &nbsp; elevation= OnlineMapsElevationManagerBase.GetElevation(mx, my);<br />&nbsp; &nbsp; &nbsp; &nbsp; return elevation;<br />&nbsp; &nbsp; }<br />}</p><p>2.I&#039;m using horizonArcGIS and i need to implement a switcher that active a desactive map object at runtime (some behavior for &quot;fly scene&quot;) .So when desactiving map object Only horizon becomes black just like in the screenshot. So that the problem is in activing and desactiving Horizon_script.Any way to resolve this probleme.</p><p>Thank youuuu</p>]]></description>
			<author><![CDATA[null@example.com (Amen)]]></author>
			<pubDate>Fri, 28 Jun 2019 08:21:54 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5247#p5247</guid>
		</item>
		<item>
			<title><![CDATA[Re: Horizon issues]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5244#p5244</link>
			<description><![CDATA[<p>You did not mention anything about turning.<br />Yes, in this case, the script may not work correctly.</p><p>1. Convert the coordinates to Unity World Position and use this way:<br /><a href="http://forum.infinity-code.com/viewtopic.php?pid=5200#p5200">http://forum.infinity-code.com/viewtopi … 5200#p5200</a><br />2. This is a screenshot of the problem, right?<br />Unfortunately, I can not say anything based on this screenshot.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 27 Jun 2019 18:10:53 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5244#p5244</guid>
		</item>
		<item>
			<title><![CDATA[Re: Horizon issues]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5241#p5241</link>
			<description><![CDATA[<p>Hi,<br />It follows but for not when you set rotation.y=180.But no problem i resolved the problem.<br />An other question please.<br />1-to get real elevation of a specifique point wich i specifie latitude,longitude , Something like &quot;OnlineMapsElevationManagerBase.GetElevation(Langitude , Latitude )&quot; inspite of px,py.<br />2- Some problem of Horizon&nbsp; using ArcGISE<br />thank you</p>]]></description>
			<author><![CDATA[null@example.com (Amen)]]></author>
			<pubDate>Thu, 27 Jun 2019 12:48:00 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5241#p5241</guid>
		</item>
		<item>
			<title><![CDATA[Re: Horizon issues]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5237#p5237</link>
			<description><![CDATA[<p>Hello.</p><p>I checked the work of Horizon2_ArcGIS, which you requested earlier, with random position of the map and it works correctly.<br />Horizon follows the map.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Wed, 26 Jun 2019 14:43:36 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5237#p5237</guid>
		</item>
		<item>
			<title><![CDATA[Horizon issues]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5235#p5235</link>
			<description><![CDATA[<p>Hi</p><p>I changed the position by default of the map but the horizon does not follow map&#039;s position.<br />Any simple way to make Horizion follow map position at runtime?<br />Thank you</p>]]></description>
			<author><![CDATA[null@example.com (Amen)]]></author>
			<pubDate>Wed, 26 Jun 2019 13:26:28 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5235#p5235</guid>
		</item>
	</channel>
</rss>
