<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Drawing Polygon Center Position]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1945&amp;type=atom" />
	<updated>2022-04-19T10:25:56Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1945</id>
		<entry>
			<title type="html"><![CDATA[Re: Drawing Polygon Center Position]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8217#p8217" />
			<content type="html"><![CDATA[<p>Just checked it out and yes there is a bug in the asset.<br />Thanks for reporting this.<br />Problem fixed.<br />Email me (support@infinity-code.com) and I&#039;ll send you a patch.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-04-19T10:25:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8217#p8217</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Drawing Polygon Center Position]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8214#p8214" />
			<content type="html"><![CDATA[<p>I trieed it, but when I try to call it on Debug.Log() it won&#039;t even draw the polygon nor say what the center of the polygon is</p><p><em><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; polygon = new OnlineMapsDrawingPoly(markerPositions, warnaPoly, 1, new Color(1, 1, 1, 0.5f));<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Log(polygon.center);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; polygonDrawing.Add(polygon);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; poly = OnlineMapsDrawingElementManager.AddItem(polygon);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; poly.name = &quot;marker1&quot;;<br /></em></p><p>It also shows an error like this<br /><em><br />InvalidCastException: Specified cast is not valid.<br /></em></p>]]></content>
			<author>
				<name><![CDATA[moonflow123]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1980</uri>
			</author>
			<updated>2022-04-19T07:23:02Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8214#p8214</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Drawing Polygon Center Position]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8213#p8213" />
			<content type="html"><![CDATA[<p>Hello.</p><p>OnlineMapsDrawingPoly.center<br /><a href="https://infinity-code.com/doxygen/online-maps/classOnlineMapsDrawingPoly.html#ae89cbc6ccc5c8b5ae6db687034fd1800">https://infinity-code.com/doxygen/onlin … 7034fd1800</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-04-18T09:30:02Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8213#p8213</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Drawing Polygon Center Position]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8212#p8212" />
			<content type="html"><![CDATA[<p>is there anyway to get the center position of a Polygon drawing after it has been Redrawn on the tile?</p>]]></content>
			<author>
				<name><![CDATA[moonflow123]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1980</uri>
			</author>
			<updated>2022-04-18T08:39:41Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8212#p8212</id>
		</entry>
</feed>
