<?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 Need to show route with different color for Distance Covered and Remaining in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-show-route-with-different-color-for/m-p/1208651#M78548</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Need to show the route with two different colors for distance covered and distance remaining on map, but facing some challenges to show multi colors on route.&lt;/P&gt;&lt;P&gt;Below sample code I am using&amp;nbsp; with RouteLayer,&lt;/P&gt;&lt;P&gt;defaultSymbols: {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; directionLines: {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type: "simple-line",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;color: [256, 256, 256, 256],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;width: 3,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cap: "round",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;join: "round"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; },&lt;BR /&gt;&amp;nbsp; &amp;nbsp; directionPoints: null,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; routeInfo: null,&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;If we have any sample CODE/URL/Approach, please suggest.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2022 13:24:44 GMT</pubDate>
    <dc:creator>bkolliboina</dc:creator>
    <dc:date>2022-09-01T13:24:44Z</dc:date>
    <item>
      <title>Need to show route with different color for Distance Covered and Remaining</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-show-route-with-different-color-for/m-p/1208651#M78548</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Need to show the route with two different colors for distance covered and distance remaining on map, but facing some challenges to show multi colors on route.&lt;/P&gt;&lt;P&gt;Below sample code I am using&amp;nbsp; with RouteLayer,&lt;/P&gt;&lt;P&gt;defaultSymbols: {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; directionLines: {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type: "simple-line",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;color: [256, 256, 256, 256],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;width: 3,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cap: "round",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;join: "round"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; },&lt;BR /&gt;&amp;nbsp; &amp;nbsp; directionPoints: null,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; routeInfo: null,&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;If we have any sample CODE/URL/Approach, please suggest.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 13:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-show-route-with-different-color-for/m-p/1208651#M78548</guid>
      <dc:creator>bkolliboina</dc:creator>
      <dc:date>2022-09-01T13:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show route with different color for Distance Covered and Remaining</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-show-route-with-different-color-for/m-p/1208675#M78550</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/533006"&gt;@bkolliboina&lt;/a&gt;,&amp;nbsp;are you trying to update the route symbology and the user travels across the route? Or are you just having issues&amp;nbsp;changing the symbology for the route line?&lt;/P&gt;&lt;P&gt;In this blog, there is an example of how to change the symbology for the route line:&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/changing-directions/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/changing-directions/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 14:20:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-show-route-with-different-color-for/m-p/1208675#M78550</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-09-01T14:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show route with different color for Distance Covered and Remaining</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-show-route-with-different-color-for/m-p/1208706#M78553</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the quick response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am&amp;nbsp;&lt;SPAN&gt;trying to update the route symbology and the user travels across the route. And need to show the route with two different colors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Completed distance (White Color)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Remaining distance (Orange Color)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the give below, I am bale to show only one color but needs to show two different colors&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bkolliboina_1-1662044730636.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50141i4CF67ADEDC3C0881/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bkolliboina_1-1662044730636.png" alt="bkolliboina_1-1662044730636.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 15:05:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-show-route-with-different-color-for/m-p/1208706#M78553</guid>
      <dc:creator>bkolliboina</dc:creator>
      <dc:date>2022-09-01T15:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show route with different color for Distance Covered and Remaining</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-show-route-with-different-color-for/m-p/1208722#M78557</link>
      <description>&lt;P&gt;Hmm, I'm not sure how possible this is currently. You have a way to track the user and get their location along the route? Or is this app to be used on a mobile device, and you want the route symbology to update in real time?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 14:56:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-show-route-with-different-color-for/m-p/1208722#M78557</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-09-01T14:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show route with different color for Distance Covered and Remaining</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-show-route-with-different-color-for/m-p/1208732#M78559</link>
      <description>&lt;P&gt;This is for web application not mobile app and I can get the current location along with route from API.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 15:10:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-show-route-with-different-color-for/m-p/1208732#M78559</guid>
      <dc:creator>bkolliboina</dc:creator>
      <dc:date>2022-09-01T15:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show route with different color for Distance Covered and Remaining</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-show-route-with-different-color-for/m-p/1386448#M83742</link>
      <description>&lt;P&gt;Could you use 2 route layers. 1 from the original point to where you are currently and 1 from where you are currently to the destination point?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2024 15:23:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-to-show-route-with-different-color-for/m-p/1386448#M83742</guid>
      <dc:creator>EdwardSheehan</dc:creator>
      <dc:date>2024-02-24T15:23:10Z</dc:date>
    </item>
  </channel>
</rss>

