<?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 — zoom level  & providers]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1066</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1066&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in zoom level  & providers.]]></description>
		<lastBuildDate>Fri, 22 Mar 2019 15:50:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: zoom level  & providers]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4675#p4675</link>
			<description><![CDATA[<p>Hello.</p><p>Example:<br /></p><div class="codebox"><pre><code>using UnityEngine;

public class CheckArcGISTile : MonoBehaviour
{
    private Color emptyColor = new Color32(204, 204, 204, 255);

    private void Start()
    {
        OnlineMapsTileManager.OnTileLoaded += OnTileLoaded;
    }

    private void OnTileLoaded(OnlineMapsTile tile)
    {
        Texture2D texture = tile.texture;
        Color c1 = texture.GetPixel(1, 1);
        Color c2 = texture.GetPixel(254, 254);

        if (c1 == emptyColor &amp;&amp; c2 == emptyColor) tile.status = OnlineMapsTileStatus.error;
    }
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 22 Mar 2019 15:50:08 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4675#p4675</guid>
		</item>
		<item>
			<title><![CDATA[zoom level  & providers]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4670#p4670</link>
			<description><![CDATA[<p>Hi</p><p>i&#039;m using online maps with ArcGIS provider.</p><p>When i&#039;m zooming at max level, all the tiles become white. I would like to keep the old tiles instead of having a white map (even if the resolution of the tiles would be bad). </p><p>How can i achieve that ? Is there an easy way to prevent the tiles to update if zoomlvl &gt; value ? Or is there a better way to deal with this problem ?</p><p>Thx,<br />Thibault</p>]]></description>
			<author><![CDATA[null@example.com (Thibault)]]></author>
			<pubDate>Thu, 21 Mar 2019 21:41:02 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4670#p4670</guid>
		</item>
	</channel>
</rss>
