<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px">
<DIV>So, if you could write some Javascript to capture the coordinates of an inner ring, say with right-clicks, you could somehow insert them into an existing polygon that you had selected? Can you please give me some pointers as to how I could get at the coordinates of a selected feature in a Vector layer and append the inner ring? </DIV>
<DIV>&nbsp;</DIV>
<DIV>Is there a clockwise / anti-clockwise convention for outer / inner rings in OL?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Many thanks,</DIV>
<DIV><BR>Robert Sanson<BR><BR>&gt;&gt;&gt; "Pierre GIRAUD" &lt;bluecarto@gmail.com&gt; 18/10/2008 12:40 a.m. &gt;&gt;&gt;<BR>However, the OpenLayers.Geometry.Polygon already supports several<BR>rings (one outer ring and inner rings).<BR>What I want to say is that the renderers are already able to show<BR>donut polygons.<BR><BR>Pierre<BR><BR>On Thu, Oct 16, 2008 at 10:47 PM, Christopher Schmidt<BR>&lt;crschmidt@metacarta.com&gt; wrote:<BR>&gt; On Fri, Oct 17, 2008 at 09:33:06AM +1300, Robert Sanson wrote:<BR>&gt;&gt; Is it possible to create donut polygons with the OpenLayers.Control.DrawFeature control acting on a Vetcor layer,<BR>&gt;<BR>&gt;&gt; or modify an existing polygon to create a hole inside the polygon with the OpenLayers.Control.ModifyFeature control?<BR>&gt;<BR>&gt;<BR>&gt; No such controls exist at this time.<BR>&gt;<BR>&gt; -- Chris<BR>&gt;<BR>&gt;&gt; Many thanks,<BR>&gt;&gt;<BR>&gt;&gt; Robert Sanson<BR>&gt;&gt; ------------------------------------------------------------------<BR>&gt;&gt; The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.<BR>&gt;&gt; ------------------------------------------------------------------<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; This message has been scanned for malware by SurfControl plc. www.surfcontrol.com<BR>&gt;<BR>&gt;&gt; _______________________________________________<BR>&gt;&gt; Users mailing list<BR>&gt;&gt; Users@openlayers.org<BR>&gt;&gt; <A href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</A><BR>&gt;<BR>&gt;<BR>&gt; --<BR>&gt; Christopher Schmidt<BR>&gt; MetaCarta<BR>&gt; _______________________________________________<BR>&gt; Users mailing list<BR>&gt; Users@openlayers.org<BR>&gt; <A href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</A><BR>&gt;<BR>_______________________________________________<BR>Users mailing list<BR>Users@openlayers.org<BR><A href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</A><BR><BR><BR><BR><BR></DIV><br><br><table bgcolor=white style="color:black"><tr><td><br>------------------------------------------------------------------<br>
The&nbsp;contents&nbsp;of&nbsp;this&nbsp;email&nbsp;are&nbsp;confidential&nbsp;to&nbsp;AsureQuality.&nbsp;If&nbsp;you&nbsp;have&nbsp;received&nbsp;this&nbsp;communication&nbsp;in&nbsp;error&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;immediately&nbsp;and&nbsp;delete&nbsp;the&nbsp;message&nbsp;and&nbsp;any&nbsp;attachments.&nbsp;The&nbsp;opinions&nbsp;expressed&nbsp;in&nbsp;this&nbsp;email&nbsp;are&nbsp;not&nbsp;necessarily&nbsp;those&nbsp;of&nbsp;AsureQuality.&nbsp;This&nbsp;message&nbsp;has&nbsp;been&nbsp;scanned&nbsp;for&nbsp;known&nbsp;viruses&nbsp;before&nbsp;delivery.&nbsp;AsureQuality&nbsp;supports&nbsp;the&nbsp;Unsolicited&nbsp;Electronic&nbsp;Messages&nbsp;Act&nbsp;2007.&nbsp;If&nbsp;you&nbsp;do&nbsp;not&nbsp;wish&nbsp;to&nbsp;receive&nbsp;similar&nbsp;communications&nbsp;in&nbsp;future,&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;of&nbsp;this&nbsp;message.<br>
------------------------------------------------------------------</td></tr></table></BODY></HTML>