<?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 — Is it possible to "lock" elevation data?]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1123</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1123&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Is it possible to "lock" elevation data?.]]></description>
		<lastBuildDate>Thu, 02 May 2019 15:36:51 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Is it possible to "lock" elevation data?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4854#p4854</link>
			<description><![CDATA[<p>The coordinates of the area for which elevation data is needed are passed to this method.<br />You need to fill the array with elevation values.</p><p><a href="http://forum.infinity-code.com/viewtopic.php?pid=2892#p2892">http://forum.infinity-code.com/viewtopi … 2892#p2892</a><br /><a href="http://forum.infinity-code.com/viewtopic.php?pid=1420#p1420">http://forum.infinity-code.com/viewtopi … 1420#p1420</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 02 May 2019 15:36:51 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4854#p4854</guid>
		</item>
		<item>
			<title><![CDATA[Re: Is it possible to "lock" elevation data?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4850#p4850</link>
			<description><![CDATA[<p>I&#039;m sorry to bother you so much with this but I&#039;m not so skilled...<br />Yes, I understood that I should do</p><p>void OnGetElevation(double leftLongitude, double topLatitude, double rightLongitude, double bottomLatitude)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; short[,] elevation = new short[32, 32];</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Process the request -- how?</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OnlineMapsBingMapsElevationManager.instance.SetElevationData(elevation);<br />&nbsp; &nbsp; &nbsp; &nbsp; }</p><p>but how to process the request?<br />Should I use OnlineMapsElevationManagerBase.instance.RequestNewElevationData() ?<br />I don&#039;t think so, because it does not return the elevation, and I can&#039;t pass in this method the preferred zoom level...</p>]]></description>
			<author><![CDATA[null@example.com (danielesuppo)]]></author>
			<pubDate>Thu, 02 May 2019 13:47:43 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4850#p4850</guid>
		</item>
		<item>
			<title><![CDATA[Re: Is it possible to "lock" elevation data?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4849#p4849</link>
			<description><![CDATA[<p>No, BingMapsElevationManager must be enabled.<br />When the map needs new elevation data, OnGetElevation will be invoked.<br />You must process the request, and pass to BingMapsElevationManager your elevation data.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 02 May 2019 13:07:28 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4849#p4849</guid>
		</item>
		<item>
			<title><![CDATA[Re: Is it possible to "lock" elevation data?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4848#p4848</link>
			<description><![CDATA[<p>Ok, I think to understand that I should disable the BingMapsElevationManager and call an elevation request with my preferred zoom level, but honestly I can&#039;t understand which function should I call...</p><p>I&#039;ve looked BingMapsElevationManager, on RequestNewElevationData() there&#039;s a map.zoom, but if I use a specific value it only load the elevation for that specific zoom level</p><p>Maybe could you give me one more advice?..</p>]]></description>
			<author><![CDATA[null@example.com (danielesuppo)]]></author>
			<pubDate>Thu, 02 May 2019 12:59:11 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4848#p4848</guid>
		</item>
		<item>
			<title><![CDATA[Re: Is it possible to "lock" elevation data?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4847#p4847</link>
			<description><![CDATA[<p>Yes, this is possible using OnGetElevation.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 02 May 2019 12:13:50 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4847#p4847</guid>
		</item>
		<item>
			<title><![CDATA[Re: Is it possible to "lock" elevation data?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4846#p4846</link>
			<description><![CDATA[<p>Thank-you for your reply, but it seem to me that with &quot;OnGetElevation&quot; I can just intercept the request for elevation.<br />What I&#039;d like to do is to load always the same elevation, independently from the zoom level of the map.<br />So, let&#039;s say that the map is zoom 12, I&#039;d like to load the elevation as the map was zoom 16.<br />Next, when I zoom in or out, the elevation would be always loaded at zoom 16, regardless of the real map zoom level.<br />Is it possible?</p>]]></description>
			<author><![CDATA[null@example.com (danielesuppo)]]></author>
			<pubDate>Thu, 02 May 2019 12:11:33 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4846#p4846</guid>
		</item>
		<item>
			<title><![CDATA[Re: Is it possible to "lock" elevation data?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4835#p4835</link>
			<description><![CDATA[<p>Hello.</p><p>1. Yes, you can do this with OnlineMapsElevationManagerBase.OnGetElevation.<br />2. Yes, disable the hidden component of the map - MeshRenderer, and enable it again when elevations is downloaded (OnlineMapsElevationManagerBase.OnElevationUpdated).</p><p>P.S. To minimize this effect, use Camera Orbit / Adjust To - Center Point Elevation.<br />In the new version, I optimized the code to minimize this effect, and added Camera Orbit / Adjust To - Average Center, which also helps a little.</p><p>P.P.S. Here is the old script for v2.x. This smooths out elevations changes.<br /><a href="http://forum.infinity-code.com/viewtopic.php?pid=2757#p2757">http://forum.infinity-code.com/viewtopi … 2757#p2757</a><br />It is easy to modify for v3.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sat, 27 Apr 2019 22:28:03 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4835#p4835</guid>
		</item>
		<item>
			<title><![CDATA[Is it possible to "lock" elevation data?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4833#p4833</link>
			<description><![CDATA[<p>Hello, I&#039;d have a couple of question about map elevation:</p><p>1) I&#039;ve noticed that zooming on a map, each time that load a new elevation level not yet cached there&#039;s a quite unpleasant effect due to the elevation update.<br />I&#039;ve seen an unpleasant effect also panning when the map is quite zoomed.<br />Would be possible to load the elevation data for a specific area, at a specific zoom level, and &quot;lock&quot; it so to use only these data to avoid this weird effect?</p><p>2) Is it possible wait on startup for the tile creation until the elevation data is downloaded?<br />I&#039;ve read about the action OnElevationUpdated, but I don&#039;t know if is possible not to create the map on startup.</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (danielesuppo)]]></author>
			<pubDate>Sat, 27 Apr 2019 16:56:52 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4833#p4833</guid>
		</item>
	</channel>
</rss>
