<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Editable rectangle in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editable-rectangle/m-p/648413#M60443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I got it :&lt;/P&gt;&lt;P&gt;And my 4 vertices polygons must be edited with a combinaison like this one :&lt;/P&gt;&lt;P&gt;edToolbar.activate( Edit.SCALE | Edit.MOVE , ev.graphic, {"allowAddVertices":false, "allowDeleteVertices":false} );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way editions preserves rectangles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 14:12:57 GMT</pubDate>
    <dc:creator>ChristopheSCILLIERI</dc:creator>
    <dc:date>2015-02-13T14:12:57Z</dc:date>
    <item>
      <title>Editable rectangle</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editable-rectangle/m-p/648412#M60442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Is there a way to edit a graphic rectangle the same way it is possible for polygons, using Edit class ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of a rectangle I use graphic polygons and I can move 4 points around. OK.&lt;/P&gt;&lt;P&gt;But I cant get to have it constrained to a simple rectangle at moving time, or even at the end of move.&lt;/P&gt;&lt;P&gt;In a "vertex-move" event I tried to retrieve transformations to keep my polygon a rectangle but I failed in doing this because transformation from pixels (ev.transform.dx, ev.transform.dy) to map doesnt give a good result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 11:31:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editable-rectangle/m-p/648412#M60442</guid>
      <dc:creator>ChristopheSCILLIERI</dc:creator>
      <dc:date>2015-02-13T11:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Editable rectangle</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editable-rectangle/m-p/648413#M60443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I got it :&lt;/P&gt;&lt;P&gt;And my 4 vertices polygons must be edited with a combinaison like this one :&lt;/P&gt;&lt;P&gt;edToolbar.activate( Edit.SCALE | Edit.MOVE , ev.graphic, {"allowAddVertices":false, "allowDeleteVertices":false} );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way editions preserves rectangles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 14:12:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editable-rectangle/m-p/648413#M60443</guid>
      <dc:creator>ChristopheSCILLIERI</dc:creator>
      <dc:date>2015-02-13T14:12:57Z</dc:date>
    </item>
  </channel>
</rss>

