<?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 — Dynamic MapBox Map type at runtime in Unity]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1586</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1586&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Dynamic MapBox Map type at runtime in Unity.]]></description>
		<lastBuildDate>Thu, 20 Aug 2020 14:44:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Dynamic MapBox Map type at runtime in Unity]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6601#p6601</link>
			<description><![CDATA[<p><a href="https://infinity-code.com/doxygen/online-maps/classOnlineMaps.html#acfd2a26de72270ca41657685773567ac">https://infinity-code.com/doxygen/onlin … 85773567ac</a><br /><a href="https://infinity-code.com/doxygen/online-maps/classOnlineMaps.html#ad7be7c10a1dae1819d087d3d23da3796">https://infinity-code.com/doxygen/onlin … 3d23da3796</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 20 Aug 2020 14:44:02 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6601#p6601</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dynamic MapBox Map type at runtime in Unity]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6600#p6600</link>
			<description><![CDATA[<p>Is there a way to get the current provider and style loaded from OnlineMaps?</p><p>We need to validate what style is loaded on first run, currently we simply set it again but i&#039;m concerned that will cause a cache clear?</p>]]></description>
			<author><![CDATA[null@example.com (clueduppstephen)]]></author>
			<pubDate>Thu, 20 Aug 2020 14:02:37 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6600#p6600</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dynamic MapBox Map type at runtime in Unity]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6599#p6599</link>
			<description><![CDATA[<div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>Hello.</p><p>Most likely you have created the styles url incorrectly.<br />Please send me the map id and user id of your styles.<br />If your styles are not public, also send your access token.<br />I will check it.</p><p>P.S. The information I requested is private, so in this case it is better to use email (support@infinity-code.com) rather than the forum.<br />And of course, I guarantee that the information will not be shared to third parties, or used for purposes not related to providing support to you.</p></blockquote></div><p>Hello Alex, I believe it was a malformed URL, I got it working by the end of the day by copying the format of the provider from&nbsp; OnlineMapsProvider.cs and making my own provider.</p><p>urlWithLabels = &quot;<a href="https://api.mapbox.com/styles/v1/{userid}/{mapid}/tiles/256/{z}/{x}/{y}?events=true&amp;access_token={accesstoken}">https://api.mapbox.com/styles/v1/{useri … cesstoken}</a>&quot;,</p><p>Thank you for your reply.</p>]]></description>
			<author><![CDATA[null@example.com (clueduppstephen)]]></author>
			<pubDate>Thu, 20 Aug 2020 13:17:41 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6599#p6599</guid>
		</item>
		<item>
			<title><![CDATA[Re: Dynamic MapBox Map type at runtime in Unity]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6592#p6592</link>
			<description><![CDATA[<p>Hello.</p><p>Most likely you have created the styles url incorrectly.<br />Please send me the map id and user id of your styles.<br />If your styles are not public, also send your access token.<br />I will check it.</p><p>P.S. The information I requested is private, so in this case it is better to use email (support@infinity-code.com) rather than the forum.<br />And of course, I guarantee that the information will not be shared to third parties, or used for purposes not related to providing support to you.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Wed, 19 Aug 2020 20:48:35 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6592#p6592</guid>
		</item>
		<item>
			<title><![CDATA[Dynamic MapBox Map type at runtime in Unity]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6591#p6591</link>
			<description><![CDATA[<p>Hi Community</p><p>We use prefabs of Infinity maps with different MapIDs set in the inspector, the idea is to load a different prefab when a user changes game.</p><p>This is not working at present, which ever mapID style that loaded first persists, we tried to solve this by detecting a change and telling the Online_Maps_cache&nbsp; to clear the cache and reload the map, but this doesn&#039;t work either.</p><p>I looked at this guide: <a href="http://infinity-code.com/atlas/online-maps/pages/CreateCustomStylesExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p><p>But I am unable to make them work with our custom mapbox styles, I just get blank maps.</p><p>Any ideas?</p>]]></description>
			<author><![CDATA[null@example.com (clueduppstephen)]]></author>
			<pubDate>Wed, 19 Aug 2020 14:09:36 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6591#p6591</guid>
		</item>
	</channel>
</rss>
