<?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 SketchEditor unsupported shapes in ArcGIS Java SDK (100.6) in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/sketcheditor-unsupported-shapes-in-arcgis-java-sdk/m-p/73358#M212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;So i've been working on a map related desktop application (in JavaFX) using ArcGIS Java SDK 100.6.0. I want to draw certain shapes on the map and save them. I've seen the documentation and as far as i know they provide a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE style="color: #242729; background-color: #eff0f1; border: 0px; padding: 1px 5px;"&gt;SketchEditor&lt;/CODE&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;class for drawing on map. The class object allows me to draw freehand, polylines and polygons on the map. My application requires a complete drawing feature to draw various shapes. This class does not allow me to draw squares, rectanlges, circles. My question is that how can i draw these shapes on my mapview. Has anyone ever come up with any idea to draw shapes apart from the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE style="color: #242729; background-color: #eff0f1; border: 0px; padding: 1px 5px;"&gt;SketchEditor&lt;/CODE&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;'s available ones. I've seen that the C# API supports a variety of them but it's not the same with Java.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; margin: 0px 0px 1em;"&gt;I've found a workaround for circle from this link:&lt;/P&gt;&lt;P style="border: 0px; margin: 0px 0px 1em;"&gt;&lt;A href="https://gis.stackexchange.com/questions/26636/draw-a-circle-in-arcgis-map"&gt;draw-circle-using-polygon&lt;/A&gt;&lt;/P&gt;&lt;P style="border: 0px; margin: 0px 0px 1em;"&gt;Now the shapes that&amp;nbsp;i want to add&amp;nbsp;are rectangle/square. I hope someone can share&amp;nbsp;their workaround for this logic and that in future update we get support for these shapes in the runtime SDKs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jan 2020 06:38:12 GMT</pubDate>
    <dc:creator>FuzailSiddiqui</dc:creator>
    <dc:date>2020-01-20T06:38:12Z</dc:date>
    <item>
      <title>SketchEditor unsupported shapes in ArcGIS Java SDK (100.6)</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/sketcheditor-unsupported-shapes-in-arcgis-java-sdk/m-p/73358#M212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;So i've been working on a map related desktop application (in JavaFX) using ArcGIS Java SDK 100.6.0. I want to draw certain shapes on the map and save them. I've seen the documentation and as far as i know they provide a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE style="color: #242729; background-color: #eff0f1; border: 0px; padding: 1px 5px;"&gt;SketchEditor&lt;/CODE&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;class for drawing on map. The class object allows me to draw freehand, polylines and polygons on the map. My application requires a complete drawing feature to draw various shapes. This class does not allow me to draw squares, rectanlges, circles. My question is that how can i draw these shapes on my mapview. Has anyone ever come up with any idea to draw shapes apart from the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE style="color: #242729; background-color: #eff0f1; border: 0px; padding: 1px 5px;"&gt;SketchEditor&lt;/CODE&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;'s available ones. I've seen that the C# API supports a variety of them but it's not the same with Java.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; margin: 0px 0px 1em;"&gt;I've found a workaround for circle from this link:&lt;/P&gt;&lt;P style="border: 0px; margin: 0px 0px 1em;"&gt;&lt;A href="https://gis.stackexchange.com/questions/26636/draw-a-circle-in-arcgis-map"&gt;draw-circle-using-polygon&lt;/A&gt;&lt;/P&gt;&lt;P style="border: 0px; margin: 0px 0px 1em;"&gt;Now the shapes that&amp;nbsp;i want to add&amp;nbsp;are rectangle/square. I hope someone can share&amp;nbsp;their workaround for this logic and that in future update we get support for these shapes in the runtime SDKs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 06:38:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/sketcheditor-unsupported-shapes-in-arcgis-java-sdk/m-p/73358#M212</guid>
      <dc:creator>FuzailSiddiqui</dc:creator>
      <dc:date>2020-01-20T06:38:12Z</dc:date>
    </item>
  </channel>
</rss>

