<?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 — Initially clustered markers don't have custom image?]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=560</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=560&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Initially clustered markers don't have custom image?.]]></description>
		<lastBuildDate>Thu, 01 Jun 2017 15:33:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Initially clustered markers don't have custom image?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2437#p2437</link>
			<description><![CDATA[<p>The problem is that coroutines (Properties: 26) stop when GameObject is disabled.<br /><a href="http://answers.unity3d.com/questions/34169/does-deactivating-a-gameobject-automatically-stop.html">http://answers.unity3d.com/questions/34 … -stop.html</a></p><p>What&#039;s happening:<br />1. You create a markers.<br />2. In the start invoked coroutine, which is waiting for one frame.<br />3. You group markers, and this disables markers GameObjects, and coroutines do not continue.</p><p>The solution is quite simple: you need to change the logic of Properties script.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 01 Jun 2017 15:33:42 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2437#p2437</guid>
		</item>
		<item>
			<title><![CDATA[Re: Initially clustered markers don't have custom image?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2436#p2436</link>
			<description><![CDATA[<p>Hey Alex,</p><p>I&#039;ve just sent you a .unitypackage containing a slimmed down version of our scene and scripts.<br />I&#039;ve sent it to support@infinity-code.com through wetransfer so I hope it arrives well!</p>]]></description>
			<author><![CDATA[null@example.com (alexandra)]]></author>
			<pubDate>Thu, 01 Jun 2017 13:08:23 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2436#p2436</guid>
		</item>
		<item>
			<title><![CDATA[Re: Initially clustered markers don't have custom image?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2435#p2435</link>
			<description><![CDATA[<p>I checked your code and it looks well.<br />It is very difficult to say why this works wrong in the first case, and it works well in the second case.</p><p>If you make a some scene that demonstrates this behavior and sends it to us by email (support@infinity-code.com), I&#039;ll check it and tell you exactly what&#039;s wrong.</p><p>P.S. Please do not use private messages on the forum. I do not get notifications about new private messages, and the answer can be quite late. If you need private support, please use email.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Wed, 31 May 2017 21:42:45 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2435#p2435</guid>
		</item>
		<item>
			<title><![CDATA[Re: Initially clustered markers don't have custom image?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2430#p2430</link>
			<description><![CDATA[<p>Hey Alex, I&#039;ve send you the script that we use!</p>]]></description>
			<author><![CDATA[null@example.com (alexandra)]]></author>
			<pubDate>Wed, 31 May 2017 10:55:21 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2430#p2430</guid>
		</item>
		<item>
			<title><![CDATA[Re: Initially clustered markers don't have custom image?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2429#p2429</link>
			<description><![CDATA[<p>Hello.</p><p>Which clustering script are you using?<br />At various times I published at least four such scripts.<br />Or you use your own script? If so please send it.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Wed, 31 May 2017 00:39:35 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2429#p2429</guid>
		</item>
		<item>
			<title><![CDATA[Initially clustered markers don't have custom image?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2428#p2428</link>
			<description><![CDATA[<p>Hello Alex,</p><p>We&#039;re running into an issue with our code which we cannot figure out. We create markers which have a script attached, which on start, sets the marker&#039;s image using <br /></p><div class="codebox"><pre><code>GetComponent&lt;SpriteRenderer&gt;().sprite = Sprite.Create(texture, rect, vector2);</code></pre></div><p>This normally works fine and all markers have a correct image.</p><p>When markers start out clustered, they do not have the correct image when declustering/zooming in.<br />For markers that do not start out clustered, clustering and declustering them works correctly and they still have their image afterwards.</p><p>So:<br />Case 1 Startup: Clustermarker(2) -&gt; zooming in -&gt; two individual markers without image<br />Case 2 Startup: two individual markers (with image) -&gt; zooming out -&gt; Clustermarker(2) -&gt; zooming in -&gt; two individual markers (with image)</p><p>This is the process of application start:<br />1. Get data<br />2. Create markers with data<br />3. Marker script&#039;s on Start is called and sets image<br />4. Group3DMarkers is called</p>]]></description>
			<author><![CDATA[null@example.com (alexandra)]]></author>
			<pubDate>Tue, 30 May 2017 10:59:21 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2428#p2428</guid>
		</item>
	</channel>
</rss>
