<?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: var geometries = graphicsUtils.getGeometries(map.graphics) return empty geometries while map.graphics are not empty? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/156999#M14665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Tong,&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; What version of the API are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2018 00:01:38 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2018-09-19T00:01:38Z</dc:date>
    <item>
      <title>var geometries = graphicsUtils.getGeometries(map.graphics) return empty geometries while map.graphics are not empty?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/156998#M14664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to let user select polygons in a dynamiclayer with identifyTask. Then use selected pplygons as geometryservice buffer tool buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 1:&amp;nbsp; After added identified result polygons to map.graphics, there always one extra&amp;nbsp;unknow graphic than identified?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 2:&amp;nbsp; &lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; geometries = graphicsUtils.getGeometries(map.graphics) returns empty geometries while map.graphics are not empty?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;Thanks for any help,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;Tong Sun&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 22:33:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/156998#M14664</guid>
      <dc:creator>TONGSUN</dc:creator>
      <dc:date>2018-09-18T22:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: var geometries = graphicsUtils.getGeometries(map.graphics) return empty geometries while map.graphics are not empty?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/156999#M14665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Tong,&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; What version of the API are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 00:01:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/156999#M14665</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-09-19T00:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: var geometries = graphicsUtils.getGeometries(map.graphics) return empty geometries while map.graphics are not empty?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/157000#M14666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's version 3.25.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 00:06:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/157000#M14666</guid>
      <dc:creator>TONGSUN</dc:creator>
      <dc:date>2018-09-19T00:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: var geometries = graphicsUtils.getGeometries(map.graphics) return empty geometries while map.graphics are not empty?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/157001#M14667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have not run into either of these issues. Can you provide a simple sample that demonstrates these issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 13:16:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/157001#M14667</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-09-19T13:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: var geometries = graphicsUtils.getGeometries(map.graphics) return empty geometries while map.graphics are not empty?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/157002#M14668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for taking time on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding Question 1:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before using IdentifyTask, "console.log(map.graphics);" shew:&lt;/P&gt;&lt;OL style="color: #212121; text-transform: none; text-indent: 0px; letter-spacing: normal; padding-left: 12px; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px; font-style: normal; font-weight: 400; word-spacing: 0px; display: block; list-style-type: none; white-space: pre-wrap; min-height: 0px; min-width: 0px; box-sizing: border-box; orphans: 2; widows: 2; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;graphics&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;Array(0)&lt;/SPAN&gt;&lt;OL style="padding-left: 12px; display: block; list-style-type: none; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; opacity: 0.6; flex-shrink: 0;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;0&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; opacity: 0.6; flex-shrink: 0;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;Array(0)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;hasAttributionData&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0d22aa; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;false&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; white-space: pre; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;&lt;SPAN style="color: #222222; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;"&lt;/SPAN&gt;mapDiv_graphics&lt;SPAN style="color: #222222; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;infoTemplate&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;undefined&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Afterwards, "console.log(map.graphics);" shew:&lt;/P&gt;&lt;OL style="color: #212121; text-transform: none; text-indent: 0px; letter-spacing: normal; padding-left: 12px; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px; font-style: normal; font-weight: 400; word-spacing: 0px; display: block; list-style-type: none; white-space: pre-wrap; min-height: 0px; min-width: 0px; box-sizing: border-box; orphans: 2; widows: 2; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;graphics&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;Array(2)&lt;/SPAN&gt;&lt;OL style="padding-left: 12px; display: block; list-style-type: none; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;OL style="padding-left: 12px; display: block; list-style-type: none; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;attributes&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;OBJECTID&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; white-space: pre; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;"3"&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;AREANO&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; white-space: pre; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;"NORTHWEST"&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;DISTRICT&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; white-space: pre; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;"NW"&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;AREA&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; white-space: pre; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;"823429570.678"&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;LEN&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; white-space: pre; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;"502834.824812"&lt;/SPAN&gt;,&amp;nbsp;…}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;rings&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Array(12),&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_ring&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;0&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;spatialReference&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;cache&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…}}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;infoTemplate&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;title&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; white-space: pre; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;"PDSDE.PDBOUND2017_CITYLIM"&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;content&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; white-space: pre; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;"${*}"&lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;symbol&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;style&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; white-space: pre; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;"solid"&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;outline&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;color&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;b.Color}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_extent&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;xmin&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;-13350849.073860977&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;ymin&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;4406328.614823886&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;xmax&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;-13334876.6976592&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;ymax&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;4421855.472176674&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;spatialReference&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&amp;nbsp;…}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_graphicsLayer&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_attrs&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_url&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;null&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;url&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;null&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;spatialReference&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;initialExtent&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&amp;nbsp;…}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_layer&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_attrs&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_url&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;null&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;url&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;null&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;spatialReference&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;initialExtent&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&amp;nbsp;…}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_offsets&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;[&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;0&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_shape&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;rawNode&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #303942; vertical-align: baseline; display: inline-block; position: relative; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;path&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;shape&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;matrix&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;null&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;fillStyle&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;b.Color,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;strokeStyle&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&amp;nbsp;…}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_suspended&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0d22aa; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;false&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; opacity: 0.6; flex-shrink: 0;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;OL style="padding-left: 12px; display: block; list-style-type: none; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;attributes&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;undefined&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;rings&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Array(12),&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_ring&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;0&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;spatialReference&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;cache&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…}}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;infoTemplate&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;undefined&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;symbol&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;style&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; white-space: pre; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;"none"&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;outline&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;color&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;b.Color}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;visible&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0d22aa; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;false&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_bgShape&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;null&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_dataAttrs&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;data-popup-highlight&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; white-space: pre; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;""&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;data-hidden&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; white-space: pre; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;""&lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_extent&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;xmin&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;-13350849.073860977&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;ymin&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;4406328.614823886&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;xmax&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;-13334876.6976592&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;ymax&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;4421855.472176674&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;spatialReference&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&amp;nbsp;…}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_geomVersion&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;3&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_graphicsLayer&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_attrs&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_url&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;null&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;url&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;null&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;spatialReference&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;initialExtent&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&amp;nbsp;…}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_layer&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_attrs&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_url&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;null&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;url&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;null&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;spatialReference&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;initialExtent&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&amp;nbsp;…}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_offsets&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;[&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;0&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_shape&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;{&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;rawNode&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #303942; vertical-align: baseline; display: inline-block; position: relative; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;path&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;shape&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;matrix&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;null&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;fillStyle&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;null&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #565656; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;strokeStyle&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…},&amp;nbsp;…}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;_suspended&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0d22aa; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;false&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; opacity: 0.6; flex-shrink: 0;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; opacity: 0.6; flex-shrink: 0;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;2&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; opacity: 0.6; flex-shrink: 0;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;Array(0)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;hasAttributionData&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0d22aa; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;false&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; white-space: pre; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;&lt;SPAN style="color: #222222; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;"&lt;/SPAN&gt;mapDiv_graphics&lt;SPAN style="color: #222222; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;infoTemplate&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;undefined&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;Regarding Question 2, before "&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; geometries = graphicsUtils.getGeometries(map.graphics);", "console.log(map.graphics);" shew same 2 graphics above:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="color: #212121; text-transform: none; text-indent: 0px; letter-spacing: normal; padding-left: 12px; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px; font-style: normal; font-weight: 400; word-spacing: 0px; display: block; list-style-type: none; white-space: pre-wrap; min-height: 0px; min-width: 0px; box-sizing: border-box; orphans: 2; widows: 2; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;graphics&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;&lt;SPAN style="color: gray; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;(2)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;[{…},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{…}]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="white-space: nowrap; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;Afterwards, &lt;SPAN style="color: #808080; font-family: Consolas; font-size: small;"&gt;"console.log(map.graphics);" shew same 2 graphics above, but "console.log(geometries);" shew:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; white-space: nowrap; font-size: small; font-family: Consolas; min-height: 0px; box-sizing: border-box; min-width: 0px;"&gt;[]length: 0__proto__: Array(0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Also, there's a tip says this empty array "value below was evaluated just now." when "Error: Unable to perform buffer" is logged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw in API reference, there's the sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;require&lt;/SPAN&gt;&lt;SPAN&gt;([&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"esri/graphicsUtils"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;SPAN&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;graphicsUtils&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&amp;nbsp; geometries&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; graphicsUtils&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;getGeometries&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;baseGraphics&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I can't find any explanation on what "baseGraphics" are.&amp;nbsp; Also, I couldn't understand why "geometries&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;" is in place of a supposed array here.&amp;nbsp; I couldn't duplicate this practice, either.&amp;nbsp; I thought this "baseGraphics"&amp;nbsp;might have something to do with the extra graphic I got, which could be a default graphic added automatically to the map's graphiclayer?&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 17:16:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/157002#M14668</guid>
      <dc:creator>TONGSUN</dc:creator>
      <dc:date>2018-09-19T17:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: var geometries = graphicsUtils.getGeometries(map.graphics) return empty geometries while map.graphics are not empty?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/157003#M14669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I would have to see your code on how you are handling the identify task results. Normally it is a better idea to create your own GraphicsLayer then to just add everything to the maps.graphics though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For question 2, the issue that map.graphics is a GraphicsLayer class NOT an array of graphics so you need:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; geometries &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; graphicsUtils&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getGeometries&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;graphics&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;graphics&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 18:59:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/157003#M14669</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-09-19T18:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: var geometries = graphicsUtils.getGeometries(map.graphics) return empty geometries while map.graphics are not empty?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/157004#M14670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds promising!&amp;nbsp; I'll try your suggestion after I figured out the first question.&amp;nbsp; Thank you Robert!&lt;/P&gt;&lt;P&gt;My identify tool is set to identify multiple visible layers.&amp;nbsp; But only when it identifies polygon layer, the select with polygon feature button will do its thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;layerURL = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fvs-pd-gis1%3A6080%2Farcgis%2Frest%2Fservices%2FTestMap5%2FMapServer" rel="nofollow" target="_blank"&gt;http://vs-pd-gis1:6080/arcgis/rest/services/TestMap5/MapServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; crimeLayer = new &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;ArcGISDynamicMapServiceLayer&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;(layerURL, { id: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;'crimelyrs'&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; crimeLayer.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;setDisableClientCaching&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My codes for identify:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; domConstruct.create(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"div"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;, { id: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"identify"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;, title: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"Identify Features By Drawing Rectangle"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"mapDiv"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; btn = domConstruct.create(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"button"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;value: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"true"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;type: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"button"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;id: &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"identifyBtn"&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; domConstruct.place(btn, &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"identify"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; identifyTask, identifyParams;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;.map.on(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"load"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, mapReady());&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; mapReady() { &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;on(dom.byId(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"identifyBtn"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"dblclick"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; (evt) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;buttonReady();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;on(dom.byId(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"identifyBtn"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"click"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; (evt) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;buttonReady();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; buttonReady() {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;document.getElementById(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"identifyBtn"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;).value = (document.getElementById(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"identifyBtn"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;).value == &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"true"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; ? &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"false"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; : &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"true"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; (document.getElementById(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"identifyBtn"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;).value == &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"false"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;document.getElementById(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"identifyBtn"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;).style.border = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"thin solid rgba(81, 203, 238, 1)"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;identifyListener = map.on(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"click"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, executeIdentifyTask);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;map.graphics.clear();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;console.log(map.graphics);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;toolbar.activate(Draw.EXTENT);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;else&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;document.getElementById(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"identifyBtn"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;).style.border = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"initial"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;identifyListener.remove();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;toolbar.deactivate();&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;//map.graphics.clear();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;map.infoWindow.hide();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;//create identify tasks and setup parameters&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; identifyTask = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; IdentifyTask(layerURL);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; identifyParams = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; IdentifyParameters();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;identifyParams.tolerance = 3;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; identifyParams.returnGeometry = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;identifyParams.layerIds = [0, 1];&lt;/P&gt;&lt;P&gt;identifyParams.layerOption = IdentifyParameters.LAYER_OPTION_VISIBLE;&lt;/P&gt;&lt;P&gt;identifyParams.width = map.width;&lt;/P&gt;&lt;P&gt;identifyParams.height = map.height;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; toolbar = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; Draw(map);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; toolbar.on(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"draw-end"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;, addToMap);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; marker = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; SimpleMarkerSymbol();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;marker.setStyle(SimpleMarkerSymbol.STYLE_SOLID);&lt;/P&gt;&lt;P&gt;marker.setSize(6);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; marker.setColor(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; Color([0, 255, 255, 0.6]));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; marker.setOutline(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;marker.setOffset(0, 0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; ln = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; Color([0, 255, 255]), 2);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; poly = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; SimpleFillSymbol(SimpleFillSymbol.STYLE_SOLID, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; Color([0, 255, 255]), 2), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; Color([0, 0, 0, 0]));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; addToMap(evt) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;identifyParams.geometry = evt.geometry;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;executeIdentifyTask();&lt;/P&gt;&lt;P&gt;console.log(map.graphics);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; executeIdentifyTask(event) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;identifyParams.mapExtent = map.extent;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; deferred = identifyTask.execute(identifyParams).addCallback(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; (response) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;//Sandy - set select by polygon button value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; i = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;return&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; array.map(response, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; (result) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; feature = result.feature;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; layerName = result.layerName;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; (result) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;feature.setInfoTemplate(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; InfoTemplate(layerName, &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"${*}"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; (feature.geometry.type == &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"point"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;feature.setSymbol(marker);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;document.getElementById(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"QFBtn"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;).value = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"false"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;else&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; (feature.geometry.type == &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"line"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;feature.setSymbol(ln);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;document.getElementById(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"QFBtn"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;).value = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"false"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;else&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; (feature.geometry.type == &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"polygon"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; feature.setSymbol(poly);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; (i == 0) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;document.getElementById(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"QFBtn"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;).value = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"true"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;map.graphics.add(feature);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i++;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;return&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; feature;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;map.infoWindow.setFeatures([deferred]);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;map.infoWindow.setFeatures(map.graphics);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;map.infoWindow.show(identifyParams.geometry.getCenter());&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 20:23:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/157004#M14670</guid>
      <dc:creator>TONGSUN</dc:creator>
      <dc:date>2018-09-19T20:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: var geometries = graphicsUtils.getGeometries(map.graphics) return empty geometries while map.graphics are not empty?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/157005#M14671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Your workflow is pretty confusing. You have a Draw widget set to draw an extent and afterwards call the addToMap function that adds the graphic to the map and calls the&amp;nbsp;executeIdentifyTask you also have:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;identifyListener &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;on&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"click"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; executeIdentifyTask&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So you are executing the&amp;nbsp;&lt;SPAN&gt;executeIdentifyTask&amp;nbsp;on the mouse click and on the drawEnd event.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The fact that you have two have two graphics in the map graphics is you have extent you draw on the map using the Draw widget and the result of the IdentifyTask that you add to the maps graphics.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 13:11:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/157005#M14671</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-09-20T13:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: var geometries = graphicsUtils.getGeometries(map.graphics) return empty geometries while map.graphics are not empty?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/157006#M14672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert, &lt;/P&gt;&lt;P&gt;I&amp;nbsp;was not a javascript programmer at the beginning and with all other stuff added, I just tried to learn and compose my application&amp;nbsp;from all the examples that I can find.&amp;nbsp; Sorry for bothering you with these kind of amateur mistakes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you pointed out makes sense.&amp;nbsp;So I went on deleting&amp;nbsp;2 line codes:&amp;nbsp;"identifyListener = map.on("click", executeIdentifyTask);" and "identifyListener.remove();"&amp;nbsp; But still got extra unknown&amp;nbsp;graphic.&amp;nbsp; I had to create a new graphicslayer eventually as you suggested and that solved problem!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replacing "map&lt;SPAN&gt;.&lt;/SPAN&gt;graphics" with "map&lt;SPAN&gt;.&lt;/SPAN&gt;graphics&lt;SPAN&gt;.&lt;/SPAN&gt;graphics" also answered my Question 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for taking time on my problems!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Sep 2018 00:59:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/var-geometries-graphicsutils-getgeometries-map/m-p/157006#M14672</guid>
      <dc:creator>TONGSUN</dc:creator>
      <dc:date>2018-09-22T00:59:27Z</dc:date>
    </item>
  </channel>
</rss>

