<?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 ArcGIS ClosestFacilityParameters how to set id to get the best route? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-closestfacilityparameters-how-to-set-id-to/m-p/1199685#M78185</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello everyone!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am currently trying to&amp;nbsp;categorize routes,&amp;nbsp; how do I determine which id the line is from the obtained route?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is the code I am using:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const facilities = [
          {
            id: "school",
            center: [-122.67484, 45.52087],
          },
          {
            id: "library",
            center: [-122.68365, 45.52327],
          },
          {
            id: "playground",
            center: [-122.66406, 45.52378],
          },
          {
            id: "amusementPark",
            center: [-122.6631, 45.52093],
          },
          {
            id: "factory",
            center: [-122.66208, 45.5197],
          },
          {
            id: "hospital",
            center: [-122.66247, 45.51845],
          },
          {
            id: "market",
            center: [-122.66299, 45.51827],
          },
        ];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reference material:&amp;nbsp;&lt;A href="https://developers.arcgis.com/documentation/mapping-apis-and-services/routing/closest-facility-routing/" target="_self"&gt;Closest facility routing&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Aug 2022 01:47:29 GMT</pubDate>
    <dc:creator>Storylm</dc:creator>
    <dc:date>2022-08-05T01:47:29Z</dc:date>
    <item>
      <title>ArcGIS ClosestFacilityParameters how to set id to get the best route?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-closestfacilityparameters-how-to-set-id-to/m-p/1199685#M78185</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello everyone!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am currently trying to&amp;nbsp;categorize routes,&amp;nbsp; how do I determine which id the line is from the obtained route?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is the code I am using:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const facilities = [
          {
            id: "school",
            center: [-122.67484, 45.52087],
          },
          {
            id: "library",
            center: [-122.68365, 45.52327],
          },
          {
            id: "playground",
            center: [-122.66406, 45.52378],
          },
          {
            id: "amusementPark",
            center: [-122.6631, 45.52093],
          },
          {
            id: "factory",
            center: [-122.66208, 45.5197],
          },
          {
            id: "hospital",
            center: [-122.66247, 45.51845],
          },
          {
            id: "market",
            center: [-122.66299, 45.51827],
          },
        ];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reference material:&amp;nbsp;&lt;A href="https://developers.arcgis.com/documentation/mapping-apis-and-services/routing/closest-facility-routing/" target="_self"&gt;Closest facility routing&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 01:47:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-closestfacilityparameters-how-to-set-id-to/m-p/1199685#M78185</guid>
      <dc:creator>Storylm</dc:creator>
      <dc:date>2022-08-05T01:47:29Z</dc:date>
    </item>
  </channel>
</rss>

