<?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 — OnlineMaps Smooth Zoom problem]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=838</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=838&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in OnlineMaps Smooth Zoom problem.]]></description>
		<lastBuildDate>Tue, 15 May 2018 08:20:41 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: OnlineMaps Smooth Zoom problem]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3593#p3593</link>
			<description><![CDATA[<p>Thanks for your reply, I tried out beta build and actually it works much much better and without any modifications all runs well. <br />This is probably thanks to your float zoom change.</p>]]></description>
			<author><![CDATA[null@example.com (bartosz.wolski)]]></author>
			<pubDate>Tue, 15 May 2018 08:20:41 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3593#p3593</guid>
		</item>
		<item>
			<title><![CDATA[Re: OnlineMaps Smooth Zoom problem]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3592#p3592</link>
			<description><![CDATA[<p>Hello.</p><p>Your camera is not correctly centered.<br />You need to modify the script AdjustTilesetMapToScreen:<br /></p><div class="codebox"><pre><code>mainCamera.transform.position = new Vector3(-mapWidth * 0.5f, 1024, mapHeight * 0.5f);</code></pre></div><p>In addition, you can slightly reduce the orthographic size to hide this border.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 14 May 2018 15:39:50 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3592#p3592</guid>
		</item>
		<item>
			<title><![CDATA[OnlineMaps Smooth Zoom problem]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3591#p3591</link>
			<description><![CDATA[<p>I am using OnlineMaps 2.5.36.1 version with your smoothZoom script : <br />infinity-code.com/viewtopic.php?pid=3165#p3165<br />I modified Demo example to fit my needs.<br />I am doing all this on Android Device and performing any actions with gestures (pinch to zoom etc).</p><p>I need the map to displayed in Portrait mode on full hd device,&nbsp; 55 inches screen.<br />I noticed that even when doing max zoom out possible I am not able to view whole world, and I am not able to move the map up/down.</p><p>After that I saw that its because in Scene view whole map is rendered but Camera Orthographic size was set in example to 250, so I did set it to 50% of the screen height, which results in beautiful whole map shown, so far everything works good.</p><p>But when trying to zoom in/out and when map scale is below 1.00, while x/y offset is applied to map so zoom looks natural, the texture is sometimes having offset and its rendered on about 85-95% of the screen.</p><p>Here is google drive link with project and video with problem recorded:<br />Link to video featuring the problem : <a href="https://drive.google.com/file/d/1dwFDc_fNnW4t-Hl1MHH_QpvieQj0-LAU/view">https://drive.google.com/file/d/1dwFDc_ … 0-LAU/view</a></p><br /><p>Edit: I tried using Smooth Zoom with option : Zoom Mode - Center<br />But it doesn&#039;t work and behave exactly the same as Zoom Mode - Target.</p>]]></description>
			<author><![CDATA[null@example.com (bartosz.wolski)]]></author>
			<pubDate>Mon, 14 May 2018 12:59:48 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3591#p3591</guid>
		</item>
	</channel>
</rss>
