<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Markers hidden by overlay]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=47&amp;type=atom" />
	<updated>2015-11-02T13:38:36Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=47</id>
		<entry>
			<title type="html"><![CDATA[Re: Markers hidden by overlay]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=179#p179" />
			<content type="html"><![CDATA[<p>Excellent - Thanks Alex</p>]]></content>
			<author>
				<name><![CDATA[nigel.moore]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=51</uri>
			</author>
			<updated>2015-11-02T13:38:36Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=179#p179</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers hidden by overlay]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=178#p178" />
			<content type="html"><![CDATA[<p>Hello.</p><p>I sent you a solution for this problem.</p><p>That was the problem with the ovelap of transparent objects.<br />To solve this problem need to create of a new shader with the changed order of drawing.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2015-11-02T12:03:36Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=178#p178</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers hidden by overlay]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=177#p177" />
			<content type="html"><![CDATA[<p>Alex,</p><p>I have sent you a unity package containing a simple scene showing the issue - interestingly in unity&#039;s Scene View the markers are indeed always visible on top of the overlay - just not in the game view through the camera ...</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[nigel.moore]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=51</uri>
			</author>
			<updated>2015-11-02T11:56:35Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=177#p177</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers hidden by overlay]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=171#p171" />
			<content type="html"><![CDATA[<p>Ok thanks Alex - I&#039;ll get it to you as soon as I can.</p>]]></content>
			<author>
				<name><![CDATA[nigel.moore]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=51</uri>
			</author>
			<updated>2015-10-31T00:34:38Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=171#p171</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers hidden by overlay]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=170#p170" />
			<content type="html"><![CDATA[<p>This script looks fine.</p><p>It is very interesting.<br />Unfortunately, I have no idea why this is happening.<br />Please send your project. We&#039;ll find and fix the problem.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2015-10-30T22:37:48Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=170#p170</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers hidden by overlay]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=169#p169" />
			<content type="html"><![CDATA[<p>Hi Alex,</p><p>I&#039;m actually using the MaptilerOverlayExample script from the API examples - I wonder if it&#039;s the way I&#039;m creating the markers?</p><p>I&#039;ll attached that script here - if all else fails I&#039;ll try and create a stripped-down project and send it to support.</p><p>Thanks.</p>]]></content>
			<author>
				<name><![CDATA[nigel.moore]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=51</uri>
			</author>
			<updated>2015-10-30T22:10:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=169#p169</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers hidden by overlay]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=167#p167" />
			<content type="html"><![CDATA[<p>Please attach (or send to support) your overlay script.<br />Most likely, the problem is somewhere in this script.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2015-10-30T17:16:41Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=167#p167</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers hidden by overlay]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=166#p166" />
			<content type="html"><![CDATA[<p>Thanks for the reply Alex.</p><p>Unfortunately this approach doesn&#039;t provide us with the effect we are after - I have applied an offset of +10 (anything less and they don&#039;t show at all on the bigger zoom values and any bigger applies a perspective skew on the position of the icons that are not directly in the centre of the map) but when moving the map around they flick in and out of view around the edges of the map view.</p><p>I&#039;ve attached a small gif showing what is happening </p><p>Any ideas?</p><br /><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[nigel.moore]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=51</uri>
			</author>
			<updated>2015-10-30T17:09:03Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=166#p166</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers hidden by overlay]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=165#p165" />
			<content type="html"><![CDATA[<p>Hello.</p><p>You need to increase markersContainer.transform.localPosition.y.<br />Example:<br /></p><div class="codebox"><pre><code>using UnityEngine;

public class SetMarkersYExample:MonoBehaviour
{
    public float y = 1;

    private Transform markersTransform;
    private float _y;

    private void Update()
    {
        if (markersTransform == null)
        {
            markersTransform = OnlineMaps.instance.transform.FindChild(&quot;Markers&quot;);
            if (markersTransform != null) UpdatePosition();
        }
        else if (_y != y) UpdatePosition();
    }

    private void UpdatePosition()
    {
        _y = y;
        Vector3 position = markersTransform.localPosition;
        position.y = y;
        markersTransform.localPosition = position;
    }
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2015-10-30T15:47:01Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=165#p165</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Markers hidden by overlay]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=164#p164" />
			<content type="html"><![CDATA[<p>Hi Alex,</p><p>We are having some issues with our 2D markers (created at runtime) being hidden behind our custom overlay. <br />I have looked through the api but am unable to find anything that might help - am I missing something obvious here (again <img src="https://forum.infinity-code.com/img/smilies/wink.png" width="15" height="15" alt="wink" /> ) -<br />Is there a way to ensure that the markers are drawn last / always show on top of the overlay tiles? </p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[nigel.moore]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=51</uri>
			</author>
			<updated>2015-10-30T15:24:26Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=164#p164</id>
		</entry>
</feed>
