<?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 — Full refresh]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1375</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1375&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Full refresh.]]></description>
		<lastBuildDate>Mon, 04 Nov 2024 17:12:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Full refresh]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=9709#p9709</link>
			<description><![CDATA[<p>Hi.</p><p>When you use multiple map types from the same provider, you&#039;d better register your own providers and/or map types.<br />Example:<br /><a href="https://infinity-code.com/atlas/online-maps/pages/CreateCustomStylesExample.html">https://infinity-code.com/atlas/online- … ample.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 04 Nov 2024 17:12:42 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=9709#p9709</guid>
		</item>
		<item>
			<title><![CDATA[Re: Full refresh]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=9707#p9707</link>
			<description><![CDATA[<p>Hi, this solution doesn&#039;t seem to work for me. I have a Mapbox map integrated into the asset (works), but if I try to alter the mapID, I need to do it somehow like this:</p><div class="codebox"><pre><code>        OnlineMaps.instance.mapType = mapTypeID;
        OnlineMapsProvider.MapType mapType = OnlineMapsProvider.FindMapType(mapTypeID);
        OnlineMapsProvider.ExtraField field = GetExtraField(mapType.extraFields, &quot;mapid&quot;);
        field.value = Mapbox_ID_Light;</code></pre></div><p>This actually changes the map to the correct one, whenever I scroll over an uncached area, but it doesn&#039; refresh the existing tiles.</p><p>I tried below, without success:</p><div class="codebox"><pre><code>        OnlineMapsCache.instance.ClearFileCache();

        foreach (OnlineMapsTile tile in OnlineMapsTile.tiles) tile.Dispose();
        OnlineMapsTile.tiles.Clear();
        OnlineMaps.instance.Redraw();
        OnlineMaps.instance.tileManager.Reset();</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (DDQ)]]></author>
			<pubDate>Mon, 04 Nov 2024 15:24:32 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=9707#p9707</guid>
		</item>
		<item>
			<title><![CDATA[Re: Full refresh]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5653#p5653</link>
			<description><![CDATA[<p>awesome thanks!</p>]]></description>
			<author><![CDATA[null@example.com (isra)]]></author>
			<pubDate>Fri, 04 Oct 2019 14:10:57 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5653#p5653</guid>
		</item>
		<item>
			<title><![CDATA[Re: Full refresh]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5652#p5652</link>
			<description><![CDATA[<p>Hello.</p><p>Redrawing the map when changing the type of map occurs automatically.<br />Example of how to change the type of map:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/ChangeProviderAndTypeExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Wed, 02 Oct 2019 13:02:41 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5652#p5652</guid>
		</item>
		<item>
			<title><![CDATA[Full refresh]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5651#p5651</link>
			<description><![CDATA[<p>Hi,</p><p>I want to implement a button to change the type of the map (like in google maps, I want the user to be able to change from terrain, to satellite and so on) how can I force a full refresh of the map when the type is changed?</p>]]></description>
			<author><![CDATA[null@example.com (isra)]]></author>
			<pubDate>Wed, 02 Oct 2019 12:25:49 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5651#p5651</guid>
		</item>
	</channel>
</rss>
