<?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 — Disable floatZoom]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1285</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1285&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Disable floatZoom.]]></description>
		<lastBuildDate>Mon, 08 Jul 2019 13:54:25 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Disable floatZoom]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5275#p5275</link>
			<description><![CDATA[<p>It&#039;s working great.<br />Thanks for the update!</p>]]></description>
			<author><![CDATA[null@example.com (mrfigueiredo)]]></author>
			<pubDate>Mon, 08 Jul 2019 13:54:25 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5275#p5275</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable floatZoom]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5269#p5269</link>
			<description><![CDATA[<p>Thanks for the update and your time!<br />I will give feedbacks as soon as possible.</p>]]></description>
			<author><![CDATA[null@example.com (mrfigueiredo)]]></author>
			<pubDate>Thu, 04 Jul 2019 20:23:03 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5269#p5269</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable floatZoom]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5268#p5268</link>
			<description><![CDATA[<p>Thanks for the scene.<br />This is a critical bug in Online Maps, because of which, in Render to Texture mode the map was not positioned correctly when the texture size was not 512x512.</p><p>I am very surprised that no one wrote about this problem, because it can be seen visually that the tiles move (jump) when switching to another zoom level (for example, from 16.9 to 17.1).<br />This can be seen at 5 seconds of your video.</p><p>The problem has been fixed.<br />The new version will be available through the built-in update system in 24 hours.</p><p>P.S. Do not use the map in OnEnable, because it is a roulette - singletons of the map will be initialized or not yet. <br />Use Start method.</p><p>P.P.S. Your markers are located a bit higher than they should be. <br />Comment out the line (Layer_Manager.UpdateMarker):<br /></p><div class="codebox"><pre><code>screenPosition.y += markerRectTransform.rect.height / 2;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 04 Jul 2019 19:50:59 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5268#p5268</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable floatZoom]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5267#p5267</link>
			<description><![CDATA[<p>Please make a test scene where the problem is appears and send me (as a package) for debugging by email (support@infinity-code.com).<br />I will definitely find the cause of the problem.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 04 Jul 2019 17:20:33 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5267#p5267</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable floatZoom]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5266#p5266</link>
			<description><![CDATA[<p>Still got the same behaviour.<br />Maybe there is a way to truncate the zoom only to whole numbers?</p>]]></description>
			<author><![CDATA[null@example.com (mrfigueiredo)]]></author>
			<pubDate>Thu, 04 Jul 2019 17:06:58 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5266#p5266</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable floatZoom]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5265#p5265</link>
			<description><![CDATA[<p>Try this:<br /></p><div class="codebox"><pre><code>scale = Mathf.Pow(2.0f, OnlineMaps.instance.zoom - Config.zoomDefault) / OnlineMaps.instance.zoomCoof;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 04 Jul 2019 16:57:12 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5265#p5265</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable floatZoom]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5264#p5264</link>
			<description><![CDATA[<p>No, the map size is constant from the start to the end. <br />Maybe is my Custom Marker? </p><p>My function to update on zoom is :</p><p>scale = Mathf.Pow(2, OnlineMaps.instance.floatZoom - Config.zoomDefault);<br />markerGameObject.transform.localScale = new Vector3(scale, scale, scale);</p><p>This video shows what is happening.<br /><a href="https://www.dropbox.com/s/j96b4usg754mfpg/Mesa_Tatica_Seguranca%20-%20Mesa_Tatica_UI%20-%20PC%2C%20Mac%20%26%20Linux%20Standalone%20-%20Unity%202019.2.0b5%20%5BPREVIEW%20PACKAGES%20IN%20USE%5D%20_DX11_%202019-07-04%2013-41-58.mp4?dl=0">https://www.dropbox.com/s/j96b4usg754mf … 8.mp4?dl=0</a></p>]]></description>
			<author><![CDATA[null@example.com (mrfigueiredo)]]></author>
			<pubDate>Thu, 04 Jul 2019 16:50:01 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5264#p5264</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable floatZoom]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5263#p5263</link>
			<description><![CDATA[<p>Hello.</p><p>I just checked this script on the device, and it works correctly with a float zoom.</p><p>You change the size of the map at runtime, right?<br />If so, make sure that you set the size of the map side equal to N * 256.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 04 Jul 2019 16:15:03 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5263#p5263</guid>
		</item>
		<item>
			<title><![CDATA[Disable floatZoom]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5261#p5261</link>
			<description><![CDATA[<p>We have a program, that use a custom UGUImarker.<br />But on a mobile, while zooming with pinch gesture, the markers lost the correct georeference on the map.<br />When i reach a whole number, like zoom 17,16, they get to the correct position again.<br />Anyway to solve that ???</p>]]></description>
			<author><![CDATA[null@example.com (mrfigueiredo)]]></author>
			<pubDate>Thu, 04 Jul 2019 15:38:44 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5261#p5261</guid>
		</item>
	</channel>
</rss>
