<?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 — 3D Marker Clustering]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1164</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1164&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in 3D Marker Clustering.]]></description>
		<lastBuildDate>Fri, 24 Sep 2021 12:23:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: 3D Marker Clustering]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7762#p7762</link>
			<description><![CDATA[<p>OK thanks I will try harder...</p><p>Best regards<br />Phil</p>]]></description>
			<author><![CDATA[null@example.com (philzmz)]]></author>
			<pubDate>Fri, 24 Sep 2021 12:23:16 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7762#p7762</guid>
		</item>
		<item>
			<title><![CDATA[Re: 3D Marker Clustering]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7761#p7761</link>
			<description><![CDATA[<p>Yes, this is the latest version of the script.<br />I just tested this again and did not see any problems with zoom in and out.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 24 Sep 2021 09:05:08 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7761#p7761</guid>
		</item>
		<item>
			<title><![CDATA[Re: 3D Marker Clustering]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7759#p7759</link>
			<description><![CDATA[<div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>Hello.</p><p>I adapted Clustering3DMarkers for Online Maps v3.<br />The updated script is attached.</p><p>The usage example is the same as for Online Maps v2.<br /><a href="http://forum.infinity-code.com/viewtopic.php?pid=1911#p1911">http://forum.infinity-code.com/viewtopi … 1911#p1911</a></p></blockquote></div><p>Hello, is this script the last version ?</p><p>My 3D makers disappear if I zoom in or out, the Group Prefab is not displayed and when I zoom out my markers don&#039;t show again.</p><p>With OLMaps 3.7.11.1</p><p>Best regards<br />Phil</p>]]></description>
			<author><![CDATA[null@example.com (philzmz)]]></author>
			<pubDate>Fri, 24 Sep 2021 05:17:46 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7759#p7759</guid>
		</item>
		<item>
			<title><![CDATA[Re: 3D Marker Clustering]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4960#p4960</link>
			<description><![CDATA[<p>Thanks Alex... am up against a super tight deadline so am not sure I will be able to implement clustering yet.... will post here if I do. Thanks again.</p>]]></description>
			<author><![CDATA[null@example.com (sambrick)]]></author>
			<pubDate>Thu, 16 May 2019 15:54:49 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4960#p4960</guid>
		</item>
		<item>
			<title><![CDATA[Re: 3D Marker Clustering]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4952#p4952</link>
			<description><![CDATA[<p>Please send a video showing the problem.<br />Or send your scene as a package to us for testing (support@infinity-code.com).</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 16 May 2019 11:11:54 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4952#p4952</guid>
		</item>
		<item>
			<title><![CDATA[Re: 3D Marker Clustering]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4950#p4950</link>
			<description><![CDATA[<p>Thanks so much Alex! I really appreciate it.</p><p>My markers are currently being created using the OnlineMapsMarker3DManager....</p><div class="codebox"><pre><code>ChargeRecord[] records = APILoader.Instance.CarChargingResponse.records;

        foreach (ChargeRecord record in records)
        {
            // Assign prefab a unique ID
            carChargingPrefab.name = record.recordid;

            // Extract coordinates
            double[] coordinates = record.geometry.coordinates;
            Vector2 location = new Vector2((float)coordinates[0], (float)coordinates[1]);

            // Pass prefab + location to OnlineMaps
            OnlineMapsMarker3D marker = OnlineMapsMarker3DManager.CreateItem(location, carChargingPrefab);
            marker[&quot;record&quot;] = record;
            
            // Init marker tool tips
            markerToolTip.OnDataLoaded(marker);
        }</code></pre></div><p>I swapped this out to work similarly to the TestClustering.cs script you provided in the linked thread and it seems to work pretty well..... however, markers and cluster prefabs disappear and reappear in quite a glitchy way if you zoom and pan the map. Specifically when you zoom to a new level, some of the clusters might disappear but if you pan around a bit they might come back. There are no console errors (apart from switching a legacy method DestroyImmediate out to Destroy - which I did) I know it is hard to say but do you know what might be happening here?</p><p>Thanks,</p><p>Sam</p>]]></description>
			<author><![CDATA[null@example.com (sambrick)]]></author>
			<pubDate>Thu, 16 May 2019 08:41:07 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4950#p4950</guid>
		</item>
		<item>
			<title><![CDATA[Re: 3D Marker Clustering]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4949#p4949</link>
			<description><![CDATA[<p>Hello.</p><p>I adapted Clustering3DMarkers for Online Maps v3.<br />The updated script is attached.</p><p>The usage example is the same as for Online Maps v2.<br /><a href="http://forum.infinity-code.com/viewtopic.php?pid=1911#p1911">http://forum.infinity-code.com/viewtopi … 1911#p1911</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 16 May 2019 00:51:20 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4949#p4949</guid>
		</item>
		<item>
			<title><![CDATA[3D Marker Clustering]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4946#p4946</link>
			<description><![CDATA[<p>Hello,</p><p>I am looking to introduce clustering on my 3D markers. I am using the 3DMarkerManager to handle the 3D markers. I found this post from a couple of years ago which has a sample script for clustering...</p><p><a href="http://forum.infinity-code.com/viewtopic.php?id=377">http://forum.infinity-code.com/viewtopic.php?id=377</a></p><p>Is this the best available solution for clustering in Online Maps? Is it still useable with the latest versions? If so, I a have attached it to my map GameObject and once the markers have been added I am calling Clustering3DMarkers.UpdatePositions();</p><p>I have attached a Group Prefab.</p><p>However, I am not getting any clustering behaviour happening, my markers are not visible and there are no errors in the console.</p><p>Any advice or input would be amazing.</p><p>Much thanks,</p><p>Sam</p>]]></description>
			<author><![CDATA[null@example.com (sambrick)]]></author>
			<pubDate>Wed, 15 May 2019 20:16:55 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4946#p4946</guid>
		</item>
	</channel>
</rss>
