<?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 — Several issues with drawing polygons on the map]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=474</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=474&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Several issues with drawing polygons on the map.]]></description>
		<lastBuildDate>Thu, 30 Mar 2017 11:54:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Several issues with drawing polygons on the map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2125#p2125</link>
			<description><![CDATA[<p>It&#039;s not so easy.<br />I have marked your request, and we will try to implement it in future versions.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 30 Mar 2017 11:54:58 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2125#p2125</guid>
		</item>
		<item>
			<title><![CDATA[Re: Several issues with drawing polygons on the map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2102#p2102</link>
			<description><![CDATA[<p>In the current code, polygons are added with a certain borderwidth.<br />This width seem to expand in all directions. Is it possible to only have it expand inwards? The outer border/points of our polygons need to always be in the exact same position so the border should fill in more towards the inside of the polygon, not the outside.<br />Thanks <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (alexandra)]]></author>
			<pubDate>Tue, 28 Mar 2017 13:02:09 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2102#p2102</guid>
		</item>
		<item>
			<title><![CDATA[Re: Several issues with drawing polygons on the map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2101#p2101</link>
			<description><![CDATA[<p>At the end of this week.</p><p>P.S. We added another way to have filled polygons for tileset:<br />drawingElement.checkMapBoundaries = false</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 28 Mar 2017 12:39:04 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2101#p2101</guid>
		</item>
		<item>
			<title><![CDATA[Re: Several issues with drawing polygons on the map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2100#p2100</link>
			<description><![CDATA[<p>Awesome! <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />Can&#039;t wait to test the next version.<br />When will it come out?</p>]]></description>
			<author><![CDATA[null@example.com (alexandra)]]></author>
			<pubDate>Tue, 28 Mar 2017 12:34:36 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2100#p2100</guid>
		</item>
		<item>
			<title><![CDATA[Re: Several issues with drawing polygons on the map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2094#p2094</link>
			<description><![CDATA[<p>Hello.</p><p>The problem with accuracy is fixed.<br />In the next version this will work correctly.</p><p>For «Target - Texture» and «drawing as overlay», the larger (size on map) polygon, is requeres a lot more time to draw it.</p><p>The problem with the fill is fixed.<br />In the next version this will work correctly.</p><p>The commented code is wrong. Actually, therefore, it is commented out.<br />It is not removed, so we had some starting point for continuing the work on filling the polygons for tileset.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 27 Mar 2017 12:28:41 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2094#p2094</guid>
		</item>
		<item>
			<title><![CDATA[Several issues with drawing polygons on the map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2090#p2090</link>
			<description><![CDATA[<p>Hello Alex,</p><p>We&#039;re having several images with drawing polygons on the map.<br />We are currently displaying some farm areas but we&#039;ve run across the follow few issues:</p><p>* The shape of the polygons differ greatly depending on the zoomlevel, as shown in this image:<br /><a href="https://ibb.co/meCHiv"><span class="postimg"><img src="https://thumb.ibb.co/meCHiv/lvl_versus.png" alt="https://thumb.ibb.co/meCHiv/lvl_versus.png" /></span></a><br />The one on zoomlevel 14 is more accurate to how it looks in real life.<br />Note: At zoomlevel 16 the whole program crashes, which leads to the following issue:</p><p>* It seems like one larger polygon is a lot more performance heavy than a lot of smaller polygons. Is this correct?<br />* The way the polygons are shown differs greatly between methods:<br /><a href="https://ibb.co/emJt6F"><span class="postimg"><img src="https://thumb.ibb.co/emJt6F/differences.png" alt="https://thumb.ibb.co/emJt6F/differences.png" /></span></a></p><p>All images use zoomlvl 12. On the first image the regular polygon drawing method is used with only outlines.<br />Using the overlay method (which is really slow, which we knew beforehand), a few polygons go missing and some get pretty different shapes.<br />We also tried uncommenting the triangulation code in OnlineMapsDrawingPoly and it works pretty nicely although most polygons actually disappear completely..</p><p>The overlay method seems to be more accurate in shape, but it&#039;s pretty ugly and slow and it skips some polygons.<br />Is there a reason why the regular polygon meshes don&#039;t use accurate shapes on higher zoomlevels?<br />Are there any fixes?</p>]]></description>
			<author><![CDATA[null@example.com (alexandra)]]></author>
			<pubDate>Fri, 24 Mar 2017 12:00:16 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2090#p2090</guid>
		</item>
	</channel>
</rss>
