<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Zooming on Mobile]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=733&amp;type=atom" />
	<updated>2018-03-12T22:11:03Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=733</id>
		<entry>
			<title type="html"><![CDATA[Re: Zooming on Mobile]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3453#p3453" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Try this version of the script.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2018-03-12T22:11:03Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3453#p3453</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Zooming on Mobile]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3450#p3450" />
			<content type="html"><![CDATA[<p>Hi. I have tried use CustomTileSetControl.cs but it does not work correctly. When user make zoom in/out the map is disappeared. In other words when Input.touchCount == 2 map becomes invisible. Also I have the same flickering issue on OnlineMapsTileSetControll.<br />Thanks.</p>]]></content>
			<author>
				<name><![CDATA[dmytro.krepkikh]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=682</uri>
			</author>
			<updated>2018-03-12T17:40:22Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3450#p3450</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Zooming on Mobile]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3400#p3400" />
			<content type="html"><![CDATA[<p>Hello.</p><p>In the original script, the updating of transform.localScale occurred on the next frame, but it created a visual artifact with renderInThread - OFF, so the scaling was moved to the current frame.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2018-02-17T06:37:08Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3400#p3400</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Zooming on Mobile]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3398#p3398" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>Try this version of the script.</p></blockquote></div><p>Hi, I was just wondering what is the use of the m_nextScaleModifier variable you commented ?</p>]]></content>
			<author>
				<name><![CDATA[Sangrene]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=570</uri>
			</author>
			<updated>2018-02-16T15:11:37Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3398#p3398</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Zooming on Mobile]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3233#p3233" />
			<content type="html"><![CDATA[<p>Try this version of the script.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2018-01-19T00:57:26Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3233#p3233</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Zooming on Mobile]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3232#p3232" />
			<content type="html"><![CDATA[<p>It is off, and I was able to add inertia, it&#039;s just the flickering issue now. flickering issue is because when the zoom changes it tries to recreate the marker maybe (hence the jumping around) ? I can cut an apk and send you that if that will help.</p>]]></content>
			<author>
				<name><![CDATA[Mridul]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=225</uri>
			</author>
			<updated>2018-01-18T23:47:01Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3232#p3232</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Zooming on Mobile]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3231#p3231" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Please make sure that you are using &quot;Online Maps / Troubleshooting / Render In Thread - OFF&quot;.</p><p>To make the inertia of the zoom, you need to keep the current zoom speeds, and then stop the zooming, still some time to change the zoom value.<br />You can use this script as an example of inertia implementation:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/InertiaExample.html">http://infinity-code.com/atlas/online-m … ample.html</a><br />This example is for the inertia of a position, but it&#039;s pretty easy to modify for zoom.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2018-01-18T22:22:41Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3231#p3231</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Zooming on Mobile]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3230#p3230" />
			<content type="html"><![CDATA[<p>Hello, I am having these weird flickering issues while zooming I am not sure how will I go on about fixing it, tried to lock the map draw but that wasn&#039;t of much help. I would love to use this new zoom but this is stopping me from doing that. <br />Attaching the screen recording of the issue.</p><p>Also, can you point me in the direction of how will I add inertia to the zooming in and out?</p><p><a href="https://www.dropbox.com/s/utijq0hebrc08bj/Zoom%20Issue.mp4?dl=0">https://www.dropbox.com/s/utijq0hebrc08 … e.mp4?dl=0</a></p><p>Thanks!</p><p>P.S for scaling of the markers I am firing a unity event when the user is zooming, and all the markers are subscribed to it and I am scaling them by (markerscale/map.transform.scale.x)</p>]]></content>
			<author>
				<name><![CDATA[Mridul]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=225</uri>
			</author>
			<updated>2018-01-18T19:08:28Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3230#p3230</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Zooming on Mobile]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3229#p3229" />
			<content type="html"><![CDATA[<p>I did fix the first problem by making sure that the center of the map stays the same while it&#039;s being zoomed and after you let go, now it doesn&#039;t jump around.</p>]]></content>
			<author>
				<name><![CDATA[Mridul]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=225</uri>
			</author>
			<updated>2018-01-17T23:34:43Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3229#p3229</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Zooming on Mobile]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3227#p3227" />
			<content type="html"><![CDATA[<p>Hello,</p><p>This works but I have 2 small problems, I am using the target as the zoom mode. </p><p>1) when I let go of the map after zooming, it shifts to the side and does not stay centered at the position where I let go.</p><p>2) when I am zooming in and out, the map tiles keep on updating which looks a bit jerky. It&#039;s mainly because of the labels (they reload and break the illusion of a smooth zoom) is there any way I can get the to fade in and out perhaps?</p>]]></content>
			<author>
				<name><![CDATA[Mridul]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=225</uri>
			</author>
			<updated>2018-01-17T20:46:33Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3227#p3227</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Zooming on Mobile]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3165#p3165" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Try using this (attached) instead of tileset control.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-12-27T05:44:26Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3165#p3165</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Zooming on Mobile]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3163#p3163" />
			<content type="html"><![CDATA[<p>Zooming acts very strange on mobile, when I zoom past the max it zooms in and then jerks back out. Also as i zoom out it seems to get clamped to certain values, as in I zoom out and then the maps jerks back to a certain value. Is there a way to have more granule control of the zoom?</p>]]></content>
			<author>
				<name><![CDATA[weed_demon]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=612</uri>
			</author>
			<updated>2017-12-26T11:05:30Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3163#p3163</id>
		</entry>
</feed>
