<?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 — Draw lines in the editor but not on the ios device]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=2085</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2085&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Draw lines in the editor but not on the ios device.]]></description>
		<lastBuildDate>Tue, 21 Feb 2023 01:02:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Draw lines in the editor but not on the ios device]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8879#p8879</link>
			<description><![CDATA[<p>Thank you for the quick reply!<br />With this help I was able to find my mistake.<br />It was ultimately due to a parsing error of the coordinates due to missing information on a string for float parsing.</p><p>NumberFormatInfo myNumberFormatInfo = new CultureInfo(&quot;en-US&quot;, false).NumberFormat;</p><p>My German device shot the floats.</p>]]></description>
			<author><![CDATA[null@example.com (matthiasmach)]]></author>
			<pubDate>Tue, 21 Feb 2023 01:02:30 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8879#p8879</guid>
		</item>
		<item>
			<title><![CDATA[Re: Draw lines in the editor but not on the ios device]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8871#p8871</link>
			<description><![CDATA[<p>Hello.</p><p>There could be two problems here:<br />1. You do not have the points. For example, there was some error, the server did not return your answer (or returned an error) and you do not have the points.<br />2. The problem is in the shader.</p><p>How to check this:<br />Add some other script that uses Drawing API and check if you see lines on the device.<br />For example this one:<br /><a href="https://infinity-code.com/atlas/online-maps/pages/DrawingAPI_Example.html">https://infinity-code.com/atlas/online- … ample.html</a><br />If you see these lines, then the problem is in the points.<br />If you don&#039;t see the lines, then the problem is in the shader.<br />Choose some other shader in Tileset / Materials &amp; Shaders / Drawing Shader.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 13 Feb 2023 18:26:10 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8871#p8871</guid>
		</item>
		<item>
			<title><![CDATA[Draw lines in the editor but not on the ios device]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8870#p8870</link>
			<description><![CDATA[<p>First of all thanks for the great asset! I&#039;m just getting started, but I&#039;m already excited about the wealth of functions.</p><p>My Problem is.</p><p>I draw a route that can be seen in the editor, but unfortunately not on iOS.</p><p>my code based on drawing in your example navigation class.</p><p>OnlineMapsDrawingLine route = new OnlineMapsDrawingLine(points, lineColor, lineThickness);<br />route.texture = lineTexture;<br />control.drawingElementManager.Add(route);<br />map.Redraw();</p><p>Can it be a shader problem, or do I have to wait for a special Complete Event before I can draw routes on the device.</p><p>Greetings from Hamburg, Germany</p>]]></description>
			<author><![CDATA[null@example.com (matthiasmach)]]></author>
			<pubDate>Mon, 13 Feb 2023 02:35:28 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8870#p8870</guid>
		</item>
	</channel>
</rss>
