<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Map Drag Not working in example scene]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=15&amp;type=atom" />
	<updated>2016-03-15T21:14:22Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=15</id>
		<entry>
			<title type="html"><![CDATA[Re: Map Drag Not working in example scene]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=468#p468" />
			<content type="html"><![CDATA[<p>Ahhh...actually, the problem is that the NGUI Script Define isn&#039;t being automatically populated in the Android Build Player Settings, so the entire control is #ifdef&#039;ed out.</p><p>Resetting the Script Symbols to include NGUI fixed the marker positions, but map still not scrolling--I&#039;ll keep troubleshooting and report back <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Thanks for the tip.</p>]]></content>
			<author>
				<name><![CDATA[stephen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=99</uri>
			</author>
			<updated>2016-03-15T21:14:22Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=468#p468</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map Drag Not working in example scene]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=466#p466" />
			<content type="html"><![CDATA[<p>Hello.</p><p>This is another problem.<br />OnlineMapsControlBase is the base class for controls. GetCoords overrides in other classes.</p><p>There are two possible mistakes:<br />1. You use OnlineMapsControlBase, OnlineMapsControlBase2D or OnlineMapsControlBase3D. <br />This is wrong. Remove this control, and add the correct control for your case.<br />2. You use NGUI, iGUI or DF-GUI, and do not click on «Enable XXX» in control. Just click the button.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-03-15T21:05:04Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=466#p466</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map Drag Not working in example scene]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=465#p465" />
			<content type="html"><![CDATA[<p>Resurrecting an old topic, but it looks like it is on point.</p><p>Tried my first &quot;Build and Run&quot; on Android, and the application deploys and runs fine until we get to the map, where we see the following:</p><p>--touch inputs do not go to the map object (cannot scroll or zoom on the map), *even if there is no tablet input running* (the opposite of the comments above).</p><p>--all of my custom markers are offset to the bottom left of the screen, rendering all at the same location.</p><p>--touch input *is* working on my NGUI icons, so the tablet itself is sending touch input to the applicication.</p><p>To do some further troubleshooting, I ran the same (android) build under Unity Editor, and saw the same issues as above...and the console was throwing &quot;The requested feature is not implemented.&quot; from the following code:</p><p>OnlineMapsControlBase.cs</p><div class="codebox"><pre><code>    public virtual bool GetCoords(out double lng, out double lat, Vector2 position)
    {
        throw new NotImplementedException();
    }</code></pre></div><p>Is there a version of this override that needs to get compiled in for MOBILE_INPUT &amp;&amp; CROSS_PLATFORM_INPUT define symbols which are forced by the Android Build Player Preferences?</p>]]></content>
			<author>
				<name><![CDATA[stephen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=99</uri>
			</author>
			<updated>2016-03-15T20:50:16Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=465#p465</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map Drag Not working in example scene]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=41#p41" />
			<content type="html"><![CDATA[<p>Thanks a lot. Its fixed now.</p>]]></content>
			<author>
				<name><![CDATA[ali.arslan]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=20</uri>
			</author>
			<updated>2015-07-22T10:39:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=41#p41</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map Drag Not working in example scene]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=40#p40" />
			<content type="html"><![CDATA[<p>Fixed for me in 2.2.0.11 <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[LightArcStudio]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=25</uri>
			</author>
			<updated>2015-07-17T15:41:21Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=40#p40</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map Drag Not working in example scene]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=37#p37" />
			<content type="html"><![CDATA[<p>The problem is fixed (again).<br />In addition, we added the ability to manually enable interaction under GUI (Troubleshooting / Not interact under GUI - OFF).</p><p>Please update Online Maps through a built-in update.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2015-07-15T19:23:38Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=37#p37</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map Drag Not working in example scene]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=35#p35" />
			<content type="html"><![CDATA[<p>Hi, </p><p>Thanks for the quick response. I have updated to 2.2.0.10, but the issue is still there. I believe the following line is creating problem. If I comment it out then it fixes the issue. However I am not sure if commenting this will have any side effects.</p><div class="codebox"><pre><code>#if !IGUI &amp;&amp; ((!UNITY_ANDROID || !UNITY_IOS) || UNITY_EDITOR)
        if (GUIUtility.hotControl != 0) return;
#endif
 </code></pre></div>]]></content>
			<author>
				<name><![CDATA[ali.arslan]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=20</uri>
			</author>
			<updated>2015-07-15T10:56:51Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=35#p35</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map Drag Not working in example scene]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=34#p34" />
			<content type="html"><![CDATA[<p>Hello.</p><p>This problem is already fixed.<br />Please update Online Maps through a built-in update (Component / Infinity Code / Online Maps / Check Updates) to the latest beta version.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2015-07-15T09:54:32Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=34#p34</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Map Drag Not working in example scene]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=32#p32" />
			<content type="html"><![CDATA[<p>Hi,</p><p>We were checking out your plugin on Android and iOS Devices and we found a strange bug. If you run the tileset scene on Android device and click on the seach Text Field then android/iOS keyboard opens. When you close the keyboard, then dragging on map stops working. The pinch gesture works fine but no matter how much you drag the map, it stays at the same place.</p><p>The issue only appears if keyboard is opened on device, I can use the map fine as long as i do not click on the Text Field to search.</p><p>Sample Apk can be downloaded from following URL.<br /><a href="https://www.dropbox.com/s/qv83f0w4o38kb6n/OnlineMapTest.apk?dl=0">https://www.dropbox.com/s/qv83f0w4o38kb … t.apk?dl=0</a></p>]]></content>
			<author>
				<name><![CDATA[ali.arslan]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=20</uri>
			</author>
			<updated>2015-07-15T09:19:41Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=32#p32</id>
		</entry>
</feed>
