<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Loop through OnlineMapsMarkerManager & OnlineMapsMarker3DManager]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1061&amp;type=atom" />
	<updated>2019-03-18T13:04:32Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1061</id>
		<entry>
			<title type="html"><![CDATA[Re: Loop through OnlineMapsMarkerManager & OnlineMapsMarker3DManager]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4639#p4639" />
			<content type="html"><![CDATA[<p>perfect thanks</p>]]></content>
			<author>
				<name><![CDATA[cbanwell]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=888</uri>
			</author>
			<updated>2019-03-18T13:04:32Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4639#p4639</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Loop through OnlineMapsMarkerManager & OnlineMapsMarker3DManager]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4638#p4638" />
			<content type="html"><![CDATA[<p>Hello.</p><div class="codebox"><pre><code>OnlineMapsMarkerManager.RemoveAllItems(m =&gt; m != Target);
OnlineMapsMarker3DManager.RemoveAllItems(m =&gt; m != Target);</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-03-18T11:53:31Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4638#p4638</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Loop through OnlineMapsMarkerManager & OnlineMapsMarker3DManager]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4637#p4637" />
			<content type="html"><![CDATA[<p>given an input of a marker, how would I loop through both managers and remove all markers but the marker input.</p><p>so something like :</p><p>void RemoveAllMarkersExcept( OnlineMapsMarker Target)<br />{<br />&nbsp; &nbsp; &nbsp;for (int n = 0; n &lt;&nbsp; OnlineMapsMarkerManager.CountItems; n++)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (OnlineMapsMarkerManager[n] != Target)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RemoveThisMarker<br />}</p><p>I need to do this for both 2d and 3d markers</p>]]></content>
			<author>
				<name><![CDATA[cbanwell]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=888</uri>
			</author>
			<updated>2019-03-18T11:47:12Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4637#p4637</id>
		</entry>
</feed>
