<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Multiple disconnected lines]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=748&amp;type=atom" />
	<updated>2018-01-16T20:32:49Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=748</id>
		<entry>
			<title type="html"><![CDATA[Re: Multiple disconnected lines]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3224#p3224" />
			<content type="html"><![CDATA[<p>Thanks for the prompt reply Alex, I will investigate that.</p>]]></content>
			<author>
				<name><![CDATA[kingsleyz]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=604</uri>
			</author>
			<updated>2018-01-16T20:32:49Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3224#p3224</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Multiple disconnected lines]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3221#p3221" />
			<content type="html"><![CDATA[<p>Hello.</p><p>If you want to have hundreds of lines, I do not recommend you to use the built-in drawing api or meshes (as in the example dotted lines). It is simply not designed for such use.<br />It is much better to use GL or LineRenderer.<br /><a href="https://docs.unity3d.com/ScriptReference/GL.html">https://docs.unity3d.com/ScriptReference/GL.html</a><br /><a href="https://docs.unity3d.com/ScriptReference/LineRenderer.html">https://docs.unity3d.com/ScriptReferenc … derer.html</a><br />Using GL you can have thousands of lines.</p><p>To convert coordinates to Unity World Position, use OnlineMapsTileSetControl.GetWorldPosition.<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsTileSetControl.html#adcfdea4962fd10c64683602992c6e097">http://infinity-code.com/doxygen/online … 2992c6e097</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2018-01-16T11:59:52Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3221#p3221</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Multiple disconnected lines]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3220#p3220" />
			<content type="html"><![CDATA[<p>Hi <br />Greatly appreciate any ideas on making multiple (100&#039;s) of NOT connected lines (ie each separate, searchable &amp; between 2 points).</p><p>if Use <br />map.AddDrawingElement(new OnlineMapsDrawingLine(line, Color.green, 5)); <br />and then use same code a second time ... it removes / writes over the original line (as they both use same list of points called &quot;line&quot;)<br />(and I am struggling to name unique lists programatically).</p><p>I use your addMarker perfectly in combination with tags and xml. Is there a way to use lines in similar way?</p><p>Have tried using your &quot;dotted line&quot; example, with multiple gameObjects, however can only get the first one to resize properly when zooming.</p><p>Background: have multiple users updating information via online database, all need to get each others updates etc<br />Thanks in advance<br />Kingsley</p>]]></content>
			<author>
				<name><![CDATA[kingsleyz]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=604</uri>
			</author>
			<updated>2018-01-15T23:52:30Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3220#p3220</id>
		</entry>
</feed>
