<?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 — TileCaching only for online or offline maps too?]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=507</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=507&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in TileCaching only for online or offline maps too?.]]></description>
		<lastBuildDate>Thu, 13 Apr 2017 14:56:28 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: TileCaching only for online or offline maps too?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2216#p2216</link>
			<description><![CDATA[<p>great thx</p>]]></description>
			<author><![CDATA[null@example.com (cubic)]]></author>
			<pubDate>Thu, 13 Apr 2017 14:56:28 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2216#p2216</guid>
		</item>
		<item>
			<title><![CDATA[Re: TileCaching only for online or offline maps too?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2213#p2213</link>
			<description><![CDATA[<p>Hello.</p><p>If you only use offline tiles, you do not need to use the cache.<br />It&#039;s just too much.</p><p>If you use online + offline tiles, you need to use this way:<br /></p><div class="codebox"><pre><code>private void Start()
{
    map = OnlineMaps.instance;

    if (OnlineMapsCache.instance != null) OnlineMapsCache.instance.OnStartDownloadTile += OnStartDownloadTile;
    else map.OnStartDownloadTile += OnStartDownloadTile;
}</code></pre></div><p>In this case only online tiles will be cached. <br />Tiles loaded from your scripts will not be duplicated in the cache.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 13 Apr 2017 14:51:23 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2213#p2213</guid>
		</item>
		<item>
			<title><![CDATA[TileCaching only for online or offline maps too?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2205#p2205</link>
			<description><![CDATA[<p>Hi,</p><p>I use the event hook you supply for feeding offline maptiles in your system ( OnStartDownloadTile(OnlineMapsTile tile)), there I retrieve offline map tiles out of a mbtiles file.<br />My question now is the caching compenent, is it useful or is it bypassed by this hook. So does it store the tiles in a cache regardless of where they come. I guess so, I just wanted to make sure not to bloat my app without using the feature...<br />best,Robert</p>]]></description>
			<author><![CDATA[null@example.com (cubic)]]></author>
			<pubDate>Thu, 13 Apr 2017 12:14:13 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2205#p2205</guid>
		</item>
	</channel>
</rss>
