<?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: How to draw a &amp;quot;multi-polygon&amp;quot; using ArcGIS javascript? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-draw-a-quot-multi-polygon-quot-using-arcgis/m-p/172356#M15944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Bjorn. It works for me!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2014 04:29:17 GMT</pubDate>
    <dc:creator>StephenLam</dc:creator>
    <dc:date>2014-10-03T04:29:17Z</dc:date>
    <item>
      <title>How to draw a "multi-polygon" using ArcGIS javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-draw-a-quot-multi-polygon-quot-using-arcgis/m-p/172352#M15940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refering to this &lt;A href="http://developers.arcgis.com/javascript/samples/toolbar_draw/"&gt;sample&lt;/A&gt;, I can simply draw polygons using the provided api, however they will be stored in a separated feature. I would like to draw multiple polygons and store them in a single feature, like MULTIPOLYGON (((xxxxxx&lt;/P&gt;&lt;P&gt;And then how to save them by applyEdit()? thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 07:55:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-draw-a-quot-multi-polygon-quot-using-arcgis/m-p/172352#M15940</guid>
      <dc:creator>StephenLam</dc:creator>
      <dc:date>2014-09-30T07:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a "multi-polygon" using ArcGIS javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-draw-a-quot-multi-polygon-quot-using-arcgis/m-p/172353#M15941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: verdana, arial, helvetica; font-size: 11px;"&gt;Hi Stephen Lam,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: verdana, arial, helvetica; font-size: 11px;"&gt;It might be possible, if we &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: verdana, arial, helvetica; font-size: 11px;"&gt;just keep adding the rings of other geometries to the Rings property of any one geometry. &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: verdana, arial, helvetica; font-size: 11px;"&gt;Also need to make sure that the units/spatialreference for the coordinates matches that of the map.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: verdana, arial, helvetica; font-size: 11px;"&gt;Note: I have not tested this. It is just an idea.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: verdana, arial, helvetica; font-size: 11px;"&gt;Please let me know if you get it working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: verdana, arial, helvetica; font-size: 11px;"&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: verdana, arial, helvetica; font-size: 11px;"&gt;Vara Prasad.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 12:34:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-draw-a-quot-multi-polygon-quot-using-arcgis/m-p/172353#M15941</guid>
      <dc:creator>Vara_PrasadM_S</dc:creator>
      <dc:date>2014-09-30T12:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a "multi-polygon" using ArcGIS javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-draw-a-quot-multi-polygon-quot-using-arcgis/m-p/172354#M15942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming that you want to store them in an ArcGIS feature service, you might be better of using the Editor widget (than the DrawTool plus your own code).&amp;nbsp; The Editor widget toolbar can be configured to have a "union" (merge) option.&amp;nbsp; The workflow would be to draw multiple features, then select them and click "union".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try with this sample: &lt;A href="http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=ed_simpletoolbar" title="http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=ed_simpletoolbar"&gt;http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=ed_simpletoolbar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and add the "mergeVisible" toolbar options like this:&lt;/P&gt;&lt;PRE&gt;toolbarOptions: {
&amp;nbsp;&amp;nbsp;&amp;nbsp; reshapeVisible: true
&amp;nbsp;&amp;nbsp;&amp;nbsp; , mergeVisible: true&amp;nbsp; // add this line to the sample
}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 22:56:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-draw-a-quot-multi-polygon-quot-using-arcgis/m-p/172354#M15942</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2014-09-30T22:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a "multi-polygon" using ArcGIS javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-draw-a-quot-multi-polygon-quot-using-arcgis/m-p/172355#M15943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, Vara. I think it should be worked, and I will give it a try if the templatePicker doesn't work for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 04:25:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-draw-a-quot-multi-polygon-quot-using-arcgis/m-p/172355#M15943</guid>
      <dc:creator>StephenLam</dc:creator>
      <dc:date>2014-10-03T04:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a "multi-polygon" using ArcGIS javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-draw-a-quot-multi-polygon-quot-using-arcgis/m-p/172356#M15944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Bjorn. It works for me!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 04:29:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-draw-a-quot-multi-polygon-quot-using-arcgis/m-p/172356#M15944</guid>
      <dc:creator>StephenLam</dc:creator>
      <dc:date>2014-10-03T04:29:17Z</dc:date>
    </item>
  </channel>
</rss>

