<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — zoom on android - strange behaviour]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=113&amp;type=atom" />
	<updated>2016-03-21T12:41:48Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=113</id>
		<entry>
			<title type="html"><![CDATA[Re: zoom on android - strange behaviour]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=492#p492" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Unfortunately, I did not understand what you mean «to the top».<br />Please rephrase it.</p><p>Example of forced update zoom level is attached.<br />This example requires Online Maps v2.4.0.28+, because we have found and fixed a bug GetCoordsByWorldPosition when map.transform.localScale != Vector3.one.</p><p>Online Maps uses the current zoom level + 3 parents. <br />If you change the zoom level more than 3, the map will not have active tiles, and you will see a blank map.<br />There is no direct way to work around this. <br />Use «Advanced / Empty Color» and «Advanced / Default Tile Texture», to customize the look of the tile until it is loaded.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-03-21T12:41:48Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=492#p492</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[zoom on android - strange behaviour]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=491#p491" />
			<content type="html"><![CDATA[<p>Hello, </p><p>I ve setup the default openmap config for an app i m developing. <br />I m using a google map with a terrain type<br />the camera is centered on the tile<br />smouth zoom is true and the zoom mode is target<br />camera control is false<br />zoom in on double click is false</p><p>I have the online maps tileset controls since i ve switched to ugui. </p><p>The app works just fine when in the editor. <br />However when i m testing a build on an android device, when pinching to zoom :<br />the map will &quot;zoom&quot; the tile by moving the view &#039;to the top&#039; of the map as long as i keep pinching... and the zoom will eventually update the zoom level and stabilize to the correct target position once i stop pinching.<br />So two annoying behaviors actually:<br />- why is it going to the top? do you have an explanation? a setting that could cause that.<br />- is there a way to force zoom level updates while still pinching...</p><p>In the editor, none of the above occurs and the app works just fine: the zoom is progressive, and the view is not &#039;going to the top&#039; when zooming</p><p>One additional question. <br />- Changes between zoom levels are not so smooth i.e. the map redraws, causing the view to display white tiles for a brief time. I ve seen there seems to be a buffer system. Is it to deal with this effect? if yes what would be the proper example to check?</p><br /><p>Many thanks</p><p>Emmanuel</p>]]></content>
			<author>
				<name><![CDATA[emmanuel.g.blanchard]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=109</uri>
			</author>
			<updated>2016-03-21T00:50:37Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=491#p491</id>
		</entry>
</feed>
