<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Draw lines in the editor but not on the ios device]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2085&amp;type=atom" />
	<updated>2023-02-21T01:02:30Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2085</id>
		<entry>
			<title type="html"><![CDATA[Re: Draw lines in the editor but not on the ios device]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8879#p8879" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[matthiasmach]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2467</uri>
			</author>
			<updated>2023-02-21T01:02:30Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8879#p8879</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Draw lines in the editor but not on the ios device]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8871#p8871" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2023-02-13T18:26:10Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8871#p8871</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Draw lines in the editor but not on the ios device]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8870#p8870" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[matthiasmach]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2467</uri>
			</author>
			<updated>2023-02-13T02:35:28Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8870#p8870</id>
		</entry>
</feed>
