<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Horizon issues]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1278&amp;type=atom" />
	<updated>2019-07-16T13:22:46Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1278</id>
		<entry>
			<title type="html"><![CDATA[Re: Horizon issues]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5312#p5312" />
			<content type="html"><![CDATA[<p>Thank you Alex, I am really grateful</p>]]></content>
			<author>
				<name><![CDATA[Amen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=994</uri>
			</author>
			<updated>2019-07-16T13:22:46Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5312#p5312</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Horizon issues]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5279#p5279" />
			<content type="html"><![CDATA[<p>The script, with the support of the cache is attached.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-07-09T21:34:42Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5279#p5279</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Horizon issues]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5256#p5256" />
			<content type="html"><![CDATA[<p>thank youuuuuuuuuuuuuu</p>]]></content>
			<author>
				<name><![CDATA[Amen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=994</uri>
			</author>
			<updated>2019-07-02T14:09:30Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5256#p5256</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Horizon issues]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5248#p5248" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-06-28T16:10:16Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5248#p5248</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Horizon issues]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5247#p5247" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Amen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=994</uri>
			</author>
			<updated>2019-06-28T08:21:54Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5247#p5247</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Horizon issues]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5244#p5244" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-06-27T18:10:53Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5244#p5244</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Horizon issues]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5241#p5241" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Amen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=994</uri>
			</author>
			<updated>2019-06-27T12:48:00Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5241#p5241</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Horizon issues]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5237#p5237" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-06-26T14:43:36Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5237#p5237</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Horizon issues]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5235#p5235" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Amen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=994</uri>
			</author>
			<updated>2019-06-26T13:26:28Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5235#p5235</id>
		</entry>
</feed>
