<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Stamen with Labels]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1924&amp;type=atom" />
	<updated>2022-03-02T20:53:20Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1924</id>
		<entry>
			<title type="html"><![CDATA[Re: Stamen with Labels]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8150#p8150" />
			<content type="html"><![CDATA[<p>Ok, Alex.<br />I hope to find a solution because your asset can&#039;t show very well on every iPhone and this can be a distribution problem.</p><p>Many thanks,<br />Paolo <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[voceradio]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1845</uri>
			</author>
			<updated>2022-03-02T20:53:20Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8150#p8150</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stamen with Labels]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8144#p8144" />
			<content type="html"><![CDATA[<p>Because the text in OSM tiles is drawn in the texture itself, and in Stamen these are two textures (base without text and text with a transparent background).</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-03-01T20:31:03Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8144#p8144</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stamen with Labels]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8143#p8143" />
			<content type="html"><![CDATA[<p>Thanks, but why in OpenStreetMap -&gt; Mapnik (with Legacy Diffuse) all works (name of the city and map) on any iPhone?</p>]]></content>
			<author>
				<name><![CDATA[voceradio]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1845</uri>
			</author>
			<updated>2022-03-01T15:55:15Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8143#p8143</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stamen with Labels]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8142#p8142" />
			<content type="html"><![CDATA[<p>This is because Legacy/Diffuse does not have overlay layers.</p><p>You have four ways:<br />1. Use shaders that support overlay (Tileset and Tileset Cutout).<br />3. Try switching to URP. Online Maps has shaders for it, and it&#039;s quite possible that this will solve both of your problems.<br />2. Create your own shader with overlay layers.<br />4. Merge two textures (base and overlay) on the CPU. Not recommended because it will take CPU time and memory to merge textures</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-03-01T15:41:15Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8142#p8142</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stamen with Labels]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8141#p8141" />
			<content type="html"><![CDATA[<p>Thanks, Alex. I think the problem is always on the shaders.<br />In last post, you suggested me to change the tile shader from TILESET SHADER to LEGACY SHADERS/DIFFUSE because on some iPhone I can&#039;t see any map. It was solved the problem.</p><p>Now, if I use TilesetShader (your shader standard) I can see the name of the city... if I use LEGACY SHADERS/DIFFUSE (in Tileset shader) I can&#039;t see any text on map.</p><p>Any idea?</p><p>Thanks,<br />Paolo</p>]]></content>
			<author>
				<name><![CDATA[voceradio]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1845</uri>
			</author>
			<updated>2022-03-01T15:25:11Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8141#p8141</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stamen with Labels]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8140#p8140" />
			<content type="html"><![CDATA[<p>Here is a short video about it:<br /><a href="https://www.dropbox.com/s/60juv9cr0994k0g/Online%20Maps%20-%20Stamen%20Labels.mp4?dl=0">https://www.dropbox.com/s/60juv9cr0994k … s.mp4?dl=0</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-03-01T10:44:10Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8140#p8140</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stamen with Labels]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8139#p8139" />
			<content type="html"><![CDATA[<p>Thanks, Alex. Where I must put this script? I&#039;ve try to put in Map but nothing changed.</p><p>Many thanks,<br />Paolo</p>]]></content>
			<author>
				<name><![CDATA[voceradio]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1845</uri>
			</author>
			<updated>2022-03-01T00:41:55Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8139#p8139</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stamen with Labels]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8137#p8137" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Example:<br /></p><div class="codebox"><pre><code>using UnityEngine;

public class StamenLabels : MonoBehaviour
{
    private void Start()
    {
        OnlineMapsTileManager.OnTileLoaded += OnTileLoaded;
    }

    private void OnTileLoaded(OnlineMapsTile tile)
    {
        OnlineMapsWWW www = new OnlineMapsWWW($&quot;https://stamen-tiles-a.a.ssl.fastly.net/terrain-labels/{tile.zoom}/{tile.x}/{tile.y}.png&quot;);
        www.OnComplete += w =&gt;
        {
            if (!w.hasError)
            {
                Texture2D texture = new Texture2D(256, 256, TextureFormat.ARGB32, false);
                w.LoadImageIntoTexture(texture);
                texture.wrapMode = TextureWrapMode.Clamp;
                tile.overlayBackTexture = texture;
                OnlineMaps.instance.Redraw();
            }
        };
    }
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-02-28T21:55:15Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8137#p8137</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Stamen with Labels]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8136#p8136" />
			<content type="html"><![CDATA[<p>Hi, i love the map style: Stamen Watercolor but It haven’t the labels. I’ve seen online that Stamen can have also the Labels.</p><p>Is there a way to have watercolors with Labels?<br />Here an example:</p><p><a href="https://openlayers.org/en/latest/examples/stamen.html">https://openlayers.org/en/latest/examples/stamen.html</a></p><p>Thanks,<br />Paolo</p>]]></content>
			<author>
				<name><![CDATA[voceradio]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1845</uri>
			</author>
			<updated>2022-02-28T14:53:03Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8136#p8136</id>
		</entry>
</feed>
