<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Custom tile server overlay?]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1600&amp;type=atom" />
	<updated>2020-10-01T05:41:49Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1600</id>
		<entry>
			<title type="html"><![CDATA[Re: Custom tile server overlay?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6717#p6717" />
			<content type="html"><![CDATA[<p>I found the fix here: <a href="https://answers.unity.com/questions/1158877/memory-leak-with-www-on-ios.html">https://answers.unity.com/questions/115 … n-ios.html</a></p><p>After lifting the variable out of the function and doing some disposing/unloading the memory usage seems stable on iOS.</p>]]></content>
			<author>
				<name><![CDATA[mglonnro]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1381</uri>
			</author>
			<updated>2020-10-01T05:41:49Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6717#p6717</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom tile server overlay?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6712#p6712" />
			<content type="html"><![CDATA[<p>Oh, interesting. I will research some more about what&#039;s happening and get back to you. </p><p>I didn&#039;t notice anything when running within Unity-- everything seemed fine. Only when running on an iOS device the app kept crashing and I noticed it was hitting the 1.4GB memory limit quickly just by scrolling the map slightly to the left and back right. And by disabling that script the leak went away.</p><p>But I&#039;ll get back.</p>]]></content>
			<author>
				<name><![CDATA[mglonnro]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1381</uri>
			</author>
			<updated>2020-09-29T19:55:28Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6712#p6712</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom tile server overlay?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6711#p6711" />
			<content type="html"><![CDATA[<p>I&#039;ve tested your script with and without cache and I don&#039;t see any memory leak.<br />Please tell me more about the memory leak.<br />How did you find this? And maybe something else is required for the leak to start?</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-09-29T18:43:35Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6711#p6711</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom tile server overlay?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6709#p6709" />
			<content type="html"><![CDATA[<p>Well, one big memory leak problem still. </p><p>I&#039;ve tried copying the examples, but I&#039;m sure there&#039;s something obviously wrong with how I do it since there is huge leakage <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /> I tried updating the tile status to loading - loaded - etc, but I couldn&#039;t figure it out.</p>]]></content>
			<author>
				<name><![CDATA[mglonnro]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1381</uri>
			</author>
			<updated>2020-09-29T17:26:16Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6709#p6709</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom tile server overlay?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6658#p6658" />
			<content type="html"><![CDATA[<p>Thank you! And cool, I got it to work!</p><p><span class="postimg"><img src="https://storage.googleapis.com/naked-sailor.appspot.com/public/mapbox_w_seamarks.png" alt="https://storage.googleapis.com/naked-sailor.appspot.com/public/mapbox_w_seamarks.png" /></span></p>]]></content>
			<author>
				<name><![CDATA[mglonnro]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1381</uri>
			</author>
			<updated>2020-09-14T17:09:27Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6658#p6658</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Custom tile server overlay?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6650#p6650" />
			<content type="html"><![CDATA[<p>Hello.</p><p>How to overlay:<br /><a href="https://infinity-code.com/atlas/online-maps/pages/TilesetMapTilerOverlayExample.html">https://infinity-code.com/atlas/online- … ample.html</a><br />This example loads overlay from the Resources folder. Instead, you need to make a request to the server you want.<br /><a href="https://infinity-code.com/doxygen/online-maps/classOnlineMapsWWW.html#ae555b03cd123d5d2540e30ea56c0a5ab">https://infinity-code.com/doxygen/onlin … ea56c0a5ab</a></p><p>You can save downloaded data yourself and save to Application.persistentDataPath.<br /><a href="https://docs.unity3d.com/ScriptReference/Application-persistentDataPath.html">https://docs.unity3d.com/ScriptReferenc … aPath.html</a><br />Or you can use Online Maps cache (OnlineMapsCache.Add / OnlineMapsCache.Get).</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-09-14T09:45:53Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6650#p6650</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Custom tile server overlay?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6648#p6648" />
			<content type="html"><![CDATA[<p>Hello, </p><p>I am really really new to Unity and the Online Maps, but come from having working some with mapbox-gl. </p><p>What&#039;s the best way to add a map layer from a custom tile server on top of the base map? </p><p>Here&#039;s one that I&#039;m interested in: <a href="https://tiles.openseamap.org/seamark/${z}/${x}/${y}.png">https://tiles.openseamap.org/seamark/${z}/${x}/${y}.png</a></p><p>(and more here: wiki.openstreetmap.org/wiki/Tile_servers)</p><p>Would I be able to cache/offline these as well?</p><p>Sorry if I&#039;m asking silly questions, but I couldn&#039;t find any immediate answers by searching <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[mglonnro]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1381</uri>
			</author>
			<updated>2020-09-13T18:54:24Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6648#p6648</id>
		</entry>
</feed>
