<?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 — The polygons do not appear to be filled in CalcAreaExample.]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1760</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1760&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in The polygons do not appear to be filled in CalcAreaExample..]]></description>
		<lastBuildDate>Mon, 23 Sep 2024 22:47:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: The polygons do not appear to be filled in CalcAreaExample.]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=9654#p9654</link>
			<description><![CDATA[<p>Why would the fill appear after these changes?<br />Please read post #2.<br /><a href="https://forum.infinity-code.com/viewtopic.php?pid=7407#p7407">https://forum.infinity-code.com/viewtop … 7407#p7407</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 23 Sep 2024 22:47:23 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=9654#p9654</guid>
		</item>
		<item>
			<title><![CDATA[Re: The polygons do not appear to be filled in CalcAreaExample.]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=9651#p9651</link>
			<description><![CDATA[<p>Still the polygons do not appear to be filled in CalcAreaExample.</p>]]></description>
			<author><![CDATA[null@example.com (A1)]]></author>
			<pubDate>Mon, 23 Sep 2024 01:38:13 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=9651#p9651</guid>
		</item>
		<item>
			<title><![CDATA[Re: The polygons do not appear to be filled in CalcAreaExample.]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=9650#p9650</link>
			<description><![CDATA[<p>I have changed it like this and can place and clear the lines at least:</p><p>&nbsp; &nbsp; &nbsp; &nbsp; private void OnMouseUp()<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Get the geographical coordinates of the cursor.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Vector2 cursorCoords = control.GetCoords();</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Create a new marker at the specified coordinates.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OnlineMapsMarker marker = markerManager.Create(cursorCoords, markerTexture, &quot;Marker &quot; + (markerManager.Count + 1));</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Save marker and coordinates.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; markerPositions.Add(cursorCoords);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; markers.Add(marker);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Mark that markers changed.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; changed = true;<br />&nbsp; &nbsp; &nbsp; &nbsp; }</p><p>&nbsp; &nbsp; &nbsp; &nbsp; private void Update()<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (Input.GetKey(KeyCode.LeftShift) &amp;&amp; Input.GetMouseButtonUp(0))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OnMouseUp();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (Input.GetKey(KeyCode.LeftShift) &amp;&amp; Input.GetMouseButtonUp(1))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Clear();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />...</p>]]></description>
			<author><![CDATA[null@example.com (A1)]]></author>
			<pubDate>Mon, 23 Sep 2024 01:34:39 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=9650#p9650</guid>
		</item>
		<item>
			<title><![CDATA[Re: The polygons do not appear to be filled in CalcAreaExample.]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7409#p7409</link>
			<description><![CDATA[<p>I understand. Thank you for your support.</p>]]></description>
			<author><![CDATA[null@example.com (kmasaki)]]></author>
			<pubDate>Sun, 25 Apr 2021 00:28:02 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7409#p7409</guid>
		</item>
		<item>
			<title><![CDATA[Re: The polygons do not appear to be filled in CalcAreaExample.]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7407#p7407</link>
			<description><![CDATA[<p>Hello.</p><p>A quote from the documentation:<br /></p><div class="quotebox"><blockquote><p><strong>Drawing API - polygon has no fill in «Tileset»</strong><br />This problem is related to the very difficult polygon triangulation. Most likely, this problem will never be<br />solved.<br />How to work around the problem:<br />1. OnlineMapsDrawingElement.checkMapBoundaries = false.<br />This mode works correctly only if the lines do not intersect.<br />2. Use «Draw to Texture» mode.<br />3. (Not recommended) Use Drawing as Overlay.</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sat, 24 Apr 2021 16:41:53 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7407#p7407</guid>
		</item>
		<item>
			<title><![CDATA[The polygons do not appear to be filled in CalcAreaExample.]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7406#p7406</link>
			<description><![CDATA[<p>Hello.</p><p>&quot;OnlineMapsDrawingPoly&quot;, it looks like the area is filled with 0.3 alpha channel, but in fact it is not filled with any color.<br />Is there any other way to fill the area?<br /><span class="postimg"><img src="https://s.kota2.net/1619281262.jpg" alt="PunBB bbcode test" /></span></p>]]></description>
			<author><![CDATA[null@example.com (kmasaki)]]></author>
			<pubDate>Sat, 24 Apr 2021 16:28:21 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7406#p7406</guid>
		</item>
	</channel>
</rss>
