<?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 — TMS Tiles]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=44</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=44&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in TMS Tiles.]]></description>
		<lastBuildDate>Tue, 27 Oct 2015 20:40:20 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: TMS Tiles]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=146#p146</link>
			<description><![CDATA[<p>Oops <img src="https://forum.infinity-code.com/img/smilies/hmm.png" width="15" height="15" alt="hmm" /></p><p>Perfect - thank you Alex</p>]]></description>
			<author><![CDATA[null@example.com (nigel.moore)]]></author>
			<pubDate>Tue, 27 Oct 2015 20:40:20 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=146#p146</guid>
		</item>
		<item>
			<title><![CDATA[Re: TMS Tiles]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=145#p145</link>
			<description><![CDATA[<p>The problem is that you change tile.y.</p><p>The right way:<br /></p><div class="codebox"><pre><code>string path = String.Format(&quot;OnlineMapsTiles/{0}/{1}/{2}&quot;, tile.zoom, tile.x, y);
tileTexture = Resources.Load(path) as Texture2D;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 27 Oct 2015 17:20:36 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=145#p145</guid>
		</item>
		<item>
			<title><![CDATA[Re: TMS Tiles]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=144#p144</link>
			<description><![CDATA[<p>I am attaching a gif showing what I am trying to describe - for your reference I can load the same tiles into Leaflet with the TMS tag set to true and they are displayed correctly?</p>]]></description>
			<author><![CDATA[null@example.com (nigel.moore)]]></author>
			<pubDate>Tue, 27 Oct 2015 17:08:40 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=144#p144</guid>
		</item>
		<item>
			<title><![CDATA[Re: TMS Tiles]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=143#p143</link>
			<description><![CDATA[<p>Thanks Alex, I have tried your approach but am having some strange effects. </p><p>When I first start the project in the editor the tiles are in the correct arrangement but then almost immediately they revert to the default arrangement and the sections of the map view start flickering?</p><p>I have added my version of your example script here so you can see what I have done, which is basically just try and load the tiles from Resources ...</p><p>Other than than that I have just added the script to the Tileset map game object in the Tilset example scene </p><p>Any idea what might be going on? Have I approached this in the correct way? Feel like I am missing some important but probably obvious bit of information <img src="https://forum.infinity-code.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[null@example.com (nigel.moore)]]></author>
			<pubDate>Tue, 27 Oct 2015 16:36:26 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=143#p143</guid>
		</item>
		<item>
			<title><![CDATA[Re: TMS Tiles]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=142#p142</link>
			<description><![CDATA[<p>Hello.</p><p>Example attached.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 27 Oct 2015 13:45:29 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=142#p142</guid>
		</item>
		<item>
			<title><![CDATA[TMS Tiles]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=141#p141</link>
			<description><![CDATA[<p>Hi,</p><p>Firstly I want to say what amazing asset you have created for the Unity community here - thanks.</p><p>Ok, so I have collections of custom tiles that come in the TMS tile arrangement (0,0 at bottom left) rather than the Google / OSM arrangement&nbsp; (0,0 at top left). So while I could probably create an editor script to correct this using this approach taken from <a href="https://alastaira.wordpress.com/2011/07/06/converting-tms-tile-coordinates-to-googlebingosm-tile-coordinates/">https://alastaira.wordpress.com/2011/07 … ordinates/</a></p><p>z = zoomlevel;<br />ymax = 1 &lt;&lt;&nbsp; z;<br />y = ymax - y - 1;</p><p>I wondered if it would be relatively simple or even possible for you guys to accommodate this within your tool? <img src="https://forum.infinity-code.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>Thanks</p><p>Nige</p>]]></description>
			<author><![CDATA[null@example.com (nigel.moore)]]></author>
			<pubDate>Tue, 27 Oct 2015 13:33:09 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=141#p141</guid>
		</item>
	</channel>
</rss>
