<?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: Drawing polygons in the scene in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/drawing-polygons-in-the-scene/m-p/1399957#M5186</link>
    <description>&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 23 Mar 2024 03:18:07 GMT</pubDate>
    <dc:creator>lsc</dc:creator>
    <dc:date>2024-03-23T03:18:07Z</dc:date>
    <item>
      <title>Drawing polygons in the scene</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/drawing-polygons-in-the-scene/m-p/1399548#M5183</link>
      <description>&lt;P&gt;I'm trying to draw a 3D polygon in the scene. But I didn't find the right way. Is there any way to achieve this? The function code is as follows:&lt;/P&gt;&lt;P&gt;function addPolygonGraphic() {&lt;BR /&gt;&lt;BR /&gt;// create the polygon by assigning points&lt;BR /&gt;polygonBuilder.addPointXYZ(centerX, centerY, 10000);&lt;BR /&gt;polygonBuilder.addPointXYZ(centerX + 0.1, centerY, 10000);&lt;BR /&gt;polygonBuilder.addPointXYZ(centerX + 0.1, centerY, 10000);&lt;BR /&gt;polygonBuilder.addPointXYZ(centerX, centerY, 10000);&lt;/P&gt;&lt;P&gt;// assign the geometry of the graphic to be the polygon&lt;BR /&gt;polygonGraphic.geometry = polygonBuilder.geometry;&lt;BR /&gt;// add the graphic to the polygon graphics overlay&lt;BR /&gt;graphicsOverlay.graphics.append(polygonGraphic);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 07:53:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/drawing-polygons-in-the-scene/m-p/1399548#M5183</guid>
      <dc:creator>lsc</dc:creator>
      <dc:date>2024-03-22T07:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing polygons in the scene</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/drawing-polygons-in-the-scene/m-p/1399673#M5184</link>
      <description>&lt;P&gt;Couple of things to consider:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- does the graphics overlay have the surface placement mode set? Here's an example -&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-maps-sdk-samples-qt/blob/main/ArcGISRuntimeSDKQt_QMLSamples/Scenes/SetSurfacePlacementMode/SetSurfacePlacementMode.qml" target="_blank"&gt;https://github.com/Esri/arcgis-maps-sdk-samples-qt/blob/main/ArcGISRuntimeSDKQt_QMLSamples/Scenes/SetSurfacePlacementMode/SetSurfacePlacementMode.qml&lt;/A&gt;&amp;nbsp;Since you've set z values, you probably want absolute. Here is the doc - &lt;A href="https://developers.arcgis.com/qt/qml/api-reference/enums-surfaceplacement.html" target="_blank"&gt;https://developers.arcgis.com/qt/qml/api-reference/enums-surfaceplacement.html&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;- Have you set the spatial reference of your polygon builder to match whatever the centerX and centerY variables are using?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 14:59:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/drawing-polygons-in-the-scene/m-p/1399673#M5184</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2024-03-22T14:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing polygons in the scene</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/drawing-polygons-in-the-scene/m-p/1399957#M5186</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2024 03:18:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/drawing-polygons-in-the-scene/m-p/1399957#M5186</guid>
      <dc:creator>lsc</dc:creator>
      <dc:date>2024-03-23T03:18:07Z</dc:date>
    </item>
  </channel>
</rss>

