<?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 — SOLVED - Android not showing map and touch question]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1503</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1503&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in SOLVED - Android not showing map and touch question.]]></description>
		<lastBuildDate>Wed, 29 Apr 2020 03:19:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SOLVED - Android not showing map and touch question]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6193#p6193</link>
			<description><![CDATA[<p>Thanks a lot for the general advice. I really appreciate it.<br />I think this will help me a lot to get me started.</p>]]></description>
			<author><![CDATA[null@example.com (KevinH)]]></author>
			<pubDate>Wed, 29 Apr 2020 03:19:47 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6193#p6193</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - Android not showing map and touch question]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6191#p6191</link>
			<description><![CDATA[<p>I&#039;m glad you found the map.<br />But, unfortunately, I do not know what and how you are doing, and it is difficult for me to give advice here.</p><p>I can give general advice:<br />1. Create a Tileset map instead of a SpriteRenderer.<br />Tileset has much better performance, uses less memory, and has many exclusive features.<br />2. Use Online Maps Camera Orbit + Tileset, and the map will always be in the center of the screen.<br />3. Use the Adjust to Screen component to adjust the size of the map to fit the screen.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 28 Apr 2020 22:03:49 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6191#p6191</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - Android not showing map and touch question]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6190#p6190</link>
			<description><![CDATA[<p>Update:</p><p>I just realised that it DOES work, but only in landscape mode and I&#039;ve been viewing the project in portrait mode this whole time.<br />So portrait mode still doesn&#039;t display anything (except the png I randomly put there).</p><p>Can I enable portrait mode somehow? <br />The Mapbox map feels really sluggish, though. Are there settings in your plugin that can optimise performance or is this an external issue?</p>]]></description>
			<author><![CDATA[null@example.com (KevinH)]]></author>
			<pubDate>Tue, 28 Apr 2020 21:22:48 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6190#p6190</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - Android not showing map and touch question]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6189#p6189</link>
			<description><![CDATA[<p>EDIT: See my newer response, it&#039;s beginning to work somewhat.</p><p>Thanks a lot for the fast reply! </p><p>1. Sadly it did not help.<br />The scene seems to be added correctly already since I additionally put a little png sprite on top of the map to see if my smartphone displays anything at all. The png does show up, but underneath it&#039;s still blue (which I guess is the empty background colour in a unity project).</p><p>Switched to Mapbox now to see if it makes a difference, but again, it works on my pc but it doesn&#039;t show up on my android phone.<br />Random guesses: It does display somewhere but out of bounds maybe? The camera is right on top of it though...<br />Could permissions on android play a role?<br />Should I select a plugin e.g. Adjust to Screen?</p><p>2. Ah, that&#039;s great to hear!</p><p>I hope we&#039;ll find a solution for this. Can&#039;t wait to play around more with this plugin. The possibilities seem really amazing.</p>]]></description>
			<author><![CDATA[null@example.com (KevinH)]]></author>
			<pubDate>Tue, 28 Apr 2020 21:06:17 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6189#p6189</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - Android not showing map and touch question]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6188#p6188</link>
			<description><![CDATA[<p>Hello.</p><p>1. Most likely, you just did not add the scene with the map to the build.<br />How to do it:<br />- Open the scene with the map.<br />- File / Build Settings.<br />- Remove all the scenes that are added to the build.<br />- Add Open Scenes.</p><p>2. Online Maps will automatically detect that the target platform is Android, and will use touches instead of the mouse.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 28 Apr 2020 20:17:10 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6188#p6188</guid>
		</item>
		<item>
			<title><![CDATA[SOLVED - Android not showing map and touch question]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6187#p6187</link>
			<description><![CDATA[<p>Hi there,</p><p>I&#039;m pretty new to unity so maybe I&#039;m doing something fundamentally wrong.<br />I have some questions concerning android.</p><p>I added a 2D map with SpriteRendererControl via the wizard and chose Google Maps as my provider.<br />Other than that I didn&#039;t select anything in the wizard.</p><p>When I test it via the play button the map works on my pc and I can control it with the mouse.<br />When I build and run it as an android app, it does start up the app but it only displays a blue coloured screen and not the map.</p><p>So my first question is: Any idea what I&#039;m doing wrong? </p><p>My other question is: Are the android touch controls for the map automatically enabled or is only mouse control enabled? Where can I see these settings?</p><p>I&#039;d really appreciate your help!<br />Thanks in Advance,</p><p>Kevin</p>]]></description>
			<author><![CDATA[null@example.com (KevinH)]]></author>
			<pubDate>Tue, 28 Apr 2020 19:50:13 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6187#p6187</guid>
		</item>
	</channel>
</rss>
