<?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: Service Area Polygon Geometry in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-polygon-geometry/m-p/146668#M13660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you getting any error? Does the "seriveAreaTask" returns polygon results? If it does, then you have the "serviceArea" graphic which has the geometry property. I am not sure what the problem is. Can you explain a bit more?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Mar 2017 12:50:15 GMT</pubDate>
    <dc:creator>thejuskambi</dc:creator>
    <dc:date>2017-03-23T12:50:15Z</dc:date>
    <item>
      <title>Service Area Polygon Geometry</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-polygon-geometry/m-p/146666#M13658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;I &amp;nbsp;need to get a service area polygon (graphics) for inserting it into a query as geometry.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a piece of code (a serviceAreaTask)&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;serviceAreaTask.solve(params,function(solveResult){&lt;BR /&gt; var polygonSymbol = new SimpleFillSymbol(&lt;BR /&gt; "solid", &lt;BR /&gt; new SimpleLineSymbol("solid", new Color([232,104,80]), 2),&lt;BR /&gt; new Color([232,104,80,0.25])&lt;BR /&gt; );&lt;BR /&gt; arrayUtils.forEach(solveResult.serviceAreaPolygons, function(serviceArea){&lt;BR /&gt; serviceArea.setSymbol(polygonSymbol);&lt;BR /&gt; map.graphics.add(serviceArea);&lt;/P&gt;&lt;P&gt;});&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;According to API&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/serviceareasolveresult-amd.html" title="https://developers.arcgis.com/javascript/3/jsapi/serviceareasolveresult-amd.html"&gt;ServiceAreaSolveResult | API Reference | ArcGIS API for JavaScript 3.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ServiceAreaPolygon is already a graphic, and I can use its geometry in my query&lt;/P&gt;&lt;P&gt;but, I don´t know how I can get this geometry.&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 09:37:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-polygon-geometry/m-p/146666#M13658</guid>
      <dc:creator>AlbertoCañivano</dc:creator>
      <dc:date>2017-03-23T09:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Service Area Polygon Geometry</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-polygon-geometry/m-p/146667#M13659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;It should be as simple as&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;query&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;geometry &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; serviceArea&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;geometry&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>Thu, 23 Mar 2017 12:43:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-polygon-geometry/m-p/146667#M13659</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-03-23T12:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Service Area Polygon Geometry</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-polygon-geometry/m-p/146668#M13660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you getting any error? Does the "seriveAreaTask" returns polygon results? If it does, then you have the "serviceArea" graphic which has the geometry property. I am not sure what the problem is. Can you explain a bit more?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 12:50:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-polygon-geometry/m-p/146668#M13660</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2017-03-23T12:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Service Area Polygon Geometry</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-polygon-geometry/m-p/146669#M13661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I´m use this Api example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/routetask_basic_servicearea.html" title="https://developers.arcgis.com/javascript/3/jssamples/routetask_basic_servicearea.html"&gt;Basic service area | ArcGIS API for JavaScript 3.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´m using a OSM Network that it works (I´ve already verified it),&lt;/P&gt;&lt;P&gt;I want to improve this example with a Query like "Selection by location" by ArcGis, I think I can use the final geometry of the service area for introducing into query.geometry and show in my table other information depending on I move the slider.&lt;/P&gt;&lt;P&gt;So far, I click a point, fill a table and throw the service area&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 13:49:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-polygon-geometry/m-p/146669#M13661</guid>
      <dc:creator>AlbertoCañivano</dc:creator>
      <dc:date>2017-03-23T13:49:58Z</dc:date>
    </item>
  </channel>
</rss>

