<?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 — Map zoom gesture mid point subjected to IsCursorOnUIElement check]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1879</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1879&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Map zoom gesture mid point subjected to IsCursorOnUIElement check.]]></description>
		<lastBuildDate>Thu, 20 Jan 2022 12:12:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Map zoom gesture mid point subjected to IsCursorOnUIElement check]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8035#p8035</link>
			<description><![CDATA[<p>I need that script also to be able to execute my project correctly...</p>]]></description>
			<author><![CDATA[null@example.com (alvaro1)]]></author>
			<pubDate>Thu, 20 Jan 2022 12:12:02 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8035#p8035</guid>
		</item>
		<item>
			<title><![CDATA[Re: Map zoom gesture mid point subjected to IsCursorOnUIElement check]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7923#p7923</link>
			<description><![CDATA[<p>I see.<br />I added API so you can affect this.<br />Now you can implement your own validation by name, tag, layer, component, etc.<br />Send me an email (support@infinity-code.com) and I will send you the modified script.<br />Example:<br /></p><div class="codebox"><pre><code>// True - UI element, False - otherwise
OnlineMapsControlBase.instance.OnValidateCursorOnUIElement += go =&gt; go.tag != &quot;Map&quot;;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 22 Nov 2021 10:42:39 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7923#p7923</guid>
		</item>
		<item>
			<title><![CDATA[Re: Map zoom gesture mid point subjected to IsCursorOnUIElement check]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7922#p7922</link>
			<description><![CDATA[<p>Hello</p><p>This new behaviour may be by design, but if has adversely effected our map usage due to our custom map marker implementation, do you have any suggestions on how we can exclude our custom UI canvas elements from this specific check?</p>]]></description>
			<author><![CDATA[null@example.com (clueduppstephen)]]></author>
			<pubDate>Mon, 22 Nov 2021 10:14:58 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7922#p7922</guid>
		</item>
		<item>
			<title><![CDATA[Re: Map zoom gesture mid point subjected to IsCursorOnUIElement check]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7919#p7919</link>
			<description><![CDATA[<p>Hello.</p><p>Thanks for the bug report.<br />This is a planned behavior, not a bug.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sat, 20 Nov 2021 19:19:53 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7919#p7919</guid>
		</item>
		<item>
			<title><![CDATA[Map zoom gesture mid point subjected to IsCursorOnUIElement check]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7918#p7918</link>
			<description><![CDATA[<p>Hello</p><p>Using version 3.7.11.1</p><p>Zoom gesture is performing a IsCursorOnUIElement check on the mid point of the two touch events, this has the effect that if you are zooming the map and GUI elements are in the middle of your input touches, the zoom gesture cannot start.</p><p>The check is approximately line 1008 in the script OnlineMapsControlBase.cs.</p><p>In previous versions this check is not performed, we have observed that this behaviour prevents a user from zooming in on a Gui element on the map, as it generally sits in the center of their zoom gesture.</p><p>Best regards</p><p>Steve</p>]]></description>
			<author><![CDATA[null@example.com (clueduppstephen)]]></author>
			<pubDate>Fri, 19 Nov 2021 15:28:07 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7918#p7918</guid>
		</item>
	</channel>
</rss>
