<?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 — Fly to position]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=2182</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2182&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Fly to position.]]></description>
		<lastBuildDate>Mon, 16 Oct 2023 11:40:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Fly to position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=9216#p9216</link>
			<description><![CDATA[<p>Hello.</p><p>Here is an example of how to make a smooth move to a location:<br /><a href="https://infinity-code.com/atlas/online-maps/pages/SmoothMoveExample.html">https://infinity-code.com/atlas/online- … ample.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 16 Oct 2023 11:40:24 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=9216#p9216</guid>
		</item>
		<item>
			<title><![CDATA[Fly to position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=9215#p9215</link>
			<description><![CDATA[<p>Hi,</p><p>if want change the view to some Position it happen instant. </p><p>Have a feature for &quot;Fly to position&quot; with x zoom?</p><p>Currently i use this script from demo:</p><div class="codebox"><pre><code>OnlineMaps.instance.position = r.geometry_location;

Vector2 center;
int zoom;
OnlineMapsUtils.GetCenterPointAndZoom(new[] { r.geometry_bounds_northeast, r.geometry_bounds_southwest }, out center, out zoom);
OnlineMaps.instance.zoom = _locationZoom;</code></pre></div><br /><p>thanks</p>]]></description>
			<author><![CDATA[null@example.com (Avaris)]]></author>
			<pubDate>Mon, 16 Oct 2023 11:35:12 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=9215#p9215</guid>
		</item>
	</channel>
</rss>
