<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Tile Counter]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=827&amp;type=atom" />
	<updated>2021-03-23T17:35:31Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=827</id>
		<entry>
			<title type="html"><![CDATA[Re: Tile Counter]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7308#p7308" />
			<content type="html"><![CDATA[<p>You don&#039;t need to switch between cache and this script.<br />They will work well together and complement each other.</p><p>In theory, you can modify this script and use OnlineMapsCache.AddItem and OnlineMapsCache.Get to store the data in a custom cache.<br /><a href="https://infinity-code.com/doxygen/online-maps/classOnlineMapsCache.html#a33ab8616cc69eea51fd9c7c0cbb1e451">https://infinity-code.com/doxygen/onlin … c0cbb1e451</a><br />But I wouldn&#039;t do that.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2021-03-23T17:35:31Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7308#p7308</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tile Counter]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7307#p7307" />
			<content type="html"><![CDATA[<p>The principle of the cache is fine because often it will only download what we are viewing. But sometimes we have to go offline and just before we would ensure that all tiles we&#039;ll need would be accessible. Perhaps we could switch between the cache (transparent most of the time) and the &quot;fully exported tiles folder&quot; when we need it ? In this use case, I suppose that we have to create and use our own provider reading files from our folder ?<br />I hope it is clear enough<br />Thank you again</p>]]></content>
			<author>
				<name><![CDATA[murphyii]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1579</uri>
			</author>
			<updated>2021-03-23T17:22:50Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7307#p7307</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tile Counter]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7306#p7306" />
			<content type="html"><![CDATA[<p>This script will download tiles to Application.persistentDataPath, and load tiles from this folder.<br />The downloaded data will not be cached.</p><p>Why would you want to use a cache for this?</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2021-03-23T17:08:17Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7306#p7306</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tile Counter]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7305#p7305" />
			<content type="html"><![CDATA[<p>Perfect! Just one more thing because this script will export stuff in the specified &quot;tiles&quot; folder. But can it be used to prefill the cache instead ? I mean &quot;OnlineMapsCache.instance&quot; ?<br />Thank you very much for all your feedbacks and great work from here!</p>]]></content>
			<author>
				<name><![CDATA[murphyii]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1579</uri>
			</author>
			<updated>2021-03-23T16:54:08Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7305#p7305</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tile Counter]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7303#p7303" />
			<content type="html"><![CDATA[<p>I think you are looking for this:<br /><a href="https://forum.infinity-code.com/viewtopic.php?pid=4612#p4612">https://forum.infinity-code.com/viewtop … 4612#p4612</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2021-03-23T15:51:31Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7303#p7303</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tile Counter]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7301#p7301" />
			<content type="html"><![CDATA[<p>Of course, I did not check the page source code, thank you very much for the direct link! I just found that &quot;CoordinatesToTile&quot; already exists in C# with &quot;OnlineMaps.instance.GetTilePosition&quot; and correct me if I am wrong but the coord of each tiles are integer of those values. <br />Regarding download part and according to you, what would be the best way to &quot;force&quot; a download of a particular tile ? Do I have to create a &quot;OnlineMapsRasterTile&quot; and then call &quot;OnlineMapsTileManager.StartDownloadTile(tile)&quot; ? I tried to take a look at &quot;CacheTilesExample&quot;. First of all, I can simply call GetTile if something is returned so tile is already cached, am I right ?<br />Thank you for your great support</p>]]></content>
			<author>
				<name><![CDATA[murphyii]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1579</uri>
			</author>
			<updated>2021-03-23T14:07:47Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7301#p7301</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tile Counter]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7299#p7299" />
			<content type="html"><![CDATA[<p>This is JavaScript and you can always look at the source code.<br /><a href="http://tools.infinity-code.com/TileCounter/tilecounter.js">http://tools.infinity-code.com/TileCoun … counter.js</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2021-03-23T12:16:59Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7299#p7299</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tile Counter]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7298#p7298" />
			<content type="html"><![CDATA[<p>Great tool. <br />Any chance to get source code of this ?<br />In fact, I would like to fill the tiles cache for a particular range and zoom levels and I think that it may help.&nbsp; Regarding the way on how to iterate threw all tiles in the range and download them, do you have any suggestion ? (I know that there is a python tool but I need to do it in realtime inside the app).<br />Thank you in advance for your help</p>]]></content>
			<author>
				<name><![CDATA[murphyii]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1579</uri>
			</author>
			<updated>2021-03-23T12:08:55Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7298#p7298</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Tile Counter]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3566#p3566" />
			<content type="html"><![CDATA[<p><a href="http://tools.infinity-code.com/TileCounter/"><span class="postimg"><img src="https://thumb.ibb.co/f5a4HS/img1.png" alt="https://thumb.ibb.co/f5a4HS/img1.png" /></span></a><br /><a href="http://tools.infinity-code.com/TileCounter/">http://tools.infinity-code.com/TileCounter/</a></p><p>Free online utility for calculating the number and size of tiles in the specified area.<br />Useful if you plan to make an offline application.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2018-04-20T22:22:28Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3566#p3566</id>
		</entry>
</feed>
