<?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 — What is the total amount of markers that can be created?]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=125</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=125&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in What is the total amount of markers that can be created?.]]></description>
		<lastBuildDate>Mon, 20 Jun 2016 16:44:38 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=769#p769</link>
			<description><![CDATA[<p>Hello.</p><p>It is very difficult to say what wrong using small piece of code, without any error messages, etc.<br />Please describe your problem in detail.<br />If possible, please send your project to support (support@infinity-code.com).<br />We will check this and give you advice how to fix it.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 20 Jun 2016 16:44:38 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=769#p769</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=767#p767</link>
			<description><![CDATA[<p>sorry here is the code that generates the marker. its basically the replacement of the GenerateMarkers() function in the example given.</p><div class="codebox"><pre><code>if (x.Status == AzureServicesForUnity.CallBackResult.Success)
{
    foreach (var userDataObj in x.Result.results)
    {
        //Debug.Log(string.Format(&quot;ID is {0},score is {1}&quot;, item.id, item.hwsh_user_popular ));
        marker = map.AddMarker(new Vector2(userDataObj.hwsh_user_loc_geox, userDataObj.hwsh_user_loc_geoy), null, userDataObj.fb_user_name);
        // Create new XML and store it in customData.
        OnlineMapsXML customXML = new OnlineMapsXML(&quot;MarkerData&quot;);
        customXML.Create(&quot;UserName&quot;, userDataObj.fb_user_name);
        customXML.Create(&quot;UserFBID&quot;, userDataObj.fb_user_id);
        customXML.Create(&quot;UserDBID&quot;, userDataObj.id);
        customXML.Create(&quot;PostID&quot;, userDataObj.fb_user_post_id);
        customXML.Create(&quot;UserPopularity&quot;, userDataObj.hwsh_user_popular);
        customXML.Create(&quot;UserRank&quot;, myRank);
        marker.customData = customXML;
        MakeToolTips();


        marker.Init();
        int my = (int) (( userDataObj.hwsh_user_loc_geoy + 90) / 10); ///lat
        int mx = (int) (( userDataObj.hwsh_user_loc_geox + 180) / 10); //long

        int index = mx * 18 + my;

        if (markers[index] == null) markers[index] = new List&lt;OnlineMapsMarker&gt;(32);
        else if (markers[index].Count == markers[index].Capacity) markers[index].Capacity += 32;
        markers[index].Add(marker);

        TotalX += 1;
        myRank += 1;
    }
    if (includeTotalCount)
    {
        Debug.Log(string.Format(&quot;Brought {0} rows out of {1}&quot;, TotalX, x.Result.count));
    }
    else
    {
        Debug.Log(string.Format(&quot;Brought {0} rows&quot;, x.Result.results.Count()));
    }
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (luke.carelsen)]]></author>
			<pubDate>Mon, 20 Jun 2016 10:10:26 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=767#p767</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=766#p766</link>
			<description><![CDATA[<p>Hey Alex</p><p>The script works perfectly if one uses it with the old GUI label tooltip method. but for some reason trying to implement it with this method&nbsp; uGUICustomTooltipOnClick.cs <a href="http://forum.infinity-code.com/viewtopic.php?id=122">http://forum.infinity-code.com/viewtopic.php?id=122</a> I&#039;m having major issues.</p><p>can you please assist?</p>]]></description>
			<author><![CDATA[null@example.com (luke.carelsen)]]></author>
			<pubDate>Mon, 20 Jun 2016 09:02:36 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=766#p766</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=674#p674</link>
			<description><![CDATA[<p>Hey Alex</p><p>Thanks that did the trick. </p><p>still not entirely sure how it all works exactly but it works. thank you so much.</p><p>kind Regards</p>]]></description>
			<author><![CDATA[null@example.com (luke.carelsen)]]></author>
			<pubDate>Fri, 06 May 2016 16:57:23 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=674#p674</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=673#p673</link>
			<description><![CDATA[<p>Hello.</p><p>Modify line 86:<br />if (markers[cx + y] != null) ms.AddRange(markers[cx + y]);</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 06 May 2016 14:08:10 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=673#p673</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=672#p672</link>
			<description><![CDATA[<p>Yo Alex </p><p>Finally tested with your recommend settings and it works perfectly, except for one thing. when i change the count to another number except for 1 million, like 3. i receive the following errors:</p><div class="codebox"><pre><code>ArgumentNullException: Argument cannot be null.
Parameter name: collection
System.Collections.Generic.List`1[OnlineMapsMarker].CheckCollection (IEnumerable`1 collection) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:435)
System.Collections.Generic.List`1[OnlineMapsMarker].AddRange (IEnumerable`1 collection) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:136)
OneMillionMarkers.UpdateMarkers () (at Assets/OneMillionMarkers.cs:86)
OneMillionMarkers.Start () (at Assets/OneMillionMarkers.cs:59)</code></pre></div><p>The issue here is that we won&#039;t have a million markers right at the launch of our app. instead they will build up to a million. meaning as our app installs increase so will our marker count. How can we fix this?</p><p>could i also maybe ask for comments on the code as I&#039;m finding it difficult to understand whats happening.</p><p>Kind Regards<br />Luke Carelsen</p>]]></description>
			<author><![CDATA[null@example.com (luke.carelsen)]]></author>
			<pubDate>Fri, 06 May 2016 11:31:06 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=672#p672</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=671#p671</link>
			<description><![CDATA[<p>ok cool, i thought i would have to go that approach if it is only in 3d. all good i will start working on the new solution. thanks for putting up with all my question.</p><p>kind regards</p>]]></description>
			<author><![CDATA[null@example.com (luke.carelsen)]]></author>
			<pubDate>Thu, 05 May 2016 10:45:23 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=671#p671</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=670#p670</link>
			<description><![CDATA[<p>No, it&#039;s two different modes. You can not combine it.</p><p>Tileset much faster and has many additional features.<br />«Drawing to texture» - is a universal mode. You can show the map anywhere (almost).</p><p>If you configure the scene and the camera, Tileset can look like UIImage.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 05 May 2016 10:43:47 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=670#p670</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=669#p669</link>
			<description><![CDATA[<p>sorry do you have a tutorial on how to set up a UIIImage with tileset because when adding the tiles controller nothing happens. I&#039;ve connected the camera but i think its trying to access the renderer which a uiImage doesn&#039;t have. or is it only available for 3d maps?</p>]]></description>
			<author><![CDATA[null@example.com (luke.carelsen)]]></author>
			<pubDate>Thu, 05 May 2016 10:37:02 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=669#p669</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=668#p668</link>
			<description><![CDATA[<p>You are using an incorrect control.<br />For &quot;target - tileset&quot; you need to use a tileset control.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 05 May 2016 10:28:10 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=668#p668</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=667#p667</link>
			<description><![CDATA[<p>sorry alex i just updated to the latest beta and when converting the uiimage/map from texture to tile set produces a umber of errors</p><div class="codebox"><pre><code>NullReferenceException: Object reference not set to an instance of an object
OnlineMaps.GetMarkerFromScreen (Vector2 screenPosition) (at Assets/Infinity Code/Online maps/Scripts/OnlineMaps.cs:1087)
OnlineMaps.ShowMarkersTooltip (Vector2 screenPosition) (at Assets/Infinity Code/Online maps/Scripts/OnlineMaps.cs:1678)
OnlineMapsControlBase.Update () (at Assets/Infinity Code/Online maps/Scripts/Controls/OnlineMapsControlBase.cs:694)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (luke.carelsen)]]></author>
			<pubDate>Thu, 05 May 2016 10:23:17 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=667#p667</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=666#p666</link>
			<description><![CDATA[<div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>Component / Infinity Code / Online Maps / Check Updates</p><p>or</p><p>Online Maps Inspector / Help / Check Updates</p></blockquote></div><br /><p>ohhhh coooool. very cool!</p><p>thanks signing up right now.</p>]]></description>
			<author><![CDATA[null@example.com (luke.carelsen)]]></author>
			<pubDate>Thu, 05 May 2016 09:50:38 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=666#p666</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=665#p665</link>
			<description><![CDATA[<p>Component / Infinity Code / Online Maps / Check Updates</p><p>or</p><p>Online Maps Inspector / Help / Check Updates</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 05 May 2016 09:47:15 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=665#p665</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=664#p664</link>
			<description><![CDATA[<p>oh, how can i get the beta from you? must i pm my invoice number?</p>]]></description>
			<author><![CDATA[null@example.com (luke.carelsen)]]></author>
			<pubDate>Thu, 05 May 2016 09:05:06 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=664#p664</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is the total amount of markers that can be created?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=663#p663</link>
			<description><![CDATA[<p>Hey Alex,</p><p>i was meaning to get around in changing it to tileset. my apologies, i will get back to you once I&#039;ve tested it with the new settings. thanks for the info.</p>]]></description>
			<author><![CDATA[null@example.com (luke.carelsen)]]></author>
			<pubDate>Thu, 05 May 2016 08:48:09 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=663#p663</guid>
		</item>
	</channel>
</rss>
