<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Elevations not showing in webgl online projects ?]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1517&amp;type=atom" />
	<updated>2020-07-30T18:28:41Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1517</id>
		<entry>
			<title type="html"><![CDATA[Re: Elevations not showing in webgl online projects ?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6521#p6521" />
			<content type="html"><![CDATA[<p>I had the same issue with firebase hosted deployments.</p><p>Even with using the proxy recommended, firebase kicked out the requests because they weren&#039;t to a secured server. </p><p>After a lot of headaches, I simply added an (s) to the &quot;http&quot; and viola!&nbsp; It worked.</p>]]></content>
			<author>
				<name><![CDATA[mcb]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1341</uri>
			</author>
			<updated>2020-07-30T18:28:41Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6521#p6521</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Elevations not showing in webgl online projects ?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6273#p6273" />
			<content type="html"><![CDATA[<p>Here is my WebGL build:<br /><a href="https://infinity-code.com/demos/online-maps-test/">https://infinity-code.com/demos/online-maps-test/</a><br />As you can see this has elevations.</p><p>Please share your latest build so that I can see the requests.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-05-21T18:51:28Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6273#p6273</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Elevations not showing in webgl online projects ?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6272#p6272" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>I updated the script in post #2 so as not to produce entities.<br />Now it should work correctly.</p></blockquote></div><p>It works &quot;better&quot; but not in WebGL online.</p><p>I made some tests with your last script, I can get/switch the elevations : </p><p>- in the editor (in play mode)<br />- with a windows build (exe)<br />- with a webGL build offline (in the web browser, not uploaded)</p><p>But the terrain remains flat in webGL build once uploaded on our server, while this is what we are looking for...</p><p>Any idea ?</p>]]></content>
			<author>
				<name><![CDATA[philzmz]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=606</uri>
			</author>
			<updated>2020-05-21T17:36:21Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6272#p6272</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Elevations not showing in webgl online projects ?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6263#p6263" />
			<content type="html"><![CDATA[<p>I updated the script in post #2 so as not to produce entities.<br />Now it should work correctly.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-05-19T20:59:45Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6263#p6263</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Elevations not showing in webgl online projects ?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6262#p6262" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>Hello.</p><p>This is a CORS problem.<br /><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS</a><br />I redirected requests for ArcGIS elevation through a proxy, and now this should work correctly.<br />A modified script is attached.</p></blockquote></div><p>Doesn&#039;t change anything, I checked the script in my project it is the modified one... Terrain still flat...</p><div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>P.S. To reduce response time, it is best to have proxy scripts on your server.<br />If you want, you can request proxy scripts by email (support@infinity-code.com).</p></blockquote></div><p>Email sent!</p>]]></content>
			<author>
				<name><![CDATA[philzmz]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=606</uri>
			</author>
			<updated>2020-05-19T19:41:04Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6262#p6262</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Elevations not showing in webgl online projects ?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6256#p6256" />
			<content type="html"><![CDATA[<p>Hello.</p><p>This is a CORS problem.<br /><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS</a><br />I redirected requests for ArcGIS elevation through a proxy, and now this should work correctly.<br />A modified script is attached.</p><p>P.S. To reduce response time, it is best to have proxy scripts on your server.<br />If you want, you can request proxy scripts by email (support@infinity-code.com).</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-05-19T09:14:41Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6256#p6256</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Elevations not showing in webgl online projects ?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6252#p6252" />
			<content type="html"><![CDATA[<p>Hello<br />So I built the &quot;fly&quot; in the sample scenes, and uploaded it here : <a href="https://zooomez.fr/ph/flywebgl/">https://zooomez.fr/ph/flywebgl/</a><br />It confirms that elevations are not showing online as they do in the editor.<br />Did I miss something ? A key or a parameter somewhere ?<br />Best regards.</p>]]></content>
			<author>
				<name><![CDATA[philzmz]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=606</uri>
			</author>
			<updated>2020-05-19T05:05:12Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6252#p6252</id>
		</entry>
</feed>
