<?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: ArcGIS Online Traffic data and TimeSlider conflict in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-online-traffic-data-and-timeslider-conflict/m-p/703165#M65427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic, thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jan 2017 13:53:45 GMT</pubDate>
    <dc:creator>MarkSmith</dc:creator>
    <dc:date>2017-01-04T13:53:45Z</dc:date>
    <item>
      <title>ArcGIS Online Traffic data and TimeSlider conflict</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-online-traffic-data-and-timeslider-conflict/m-p/703163#M65425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a JavaScript application already using one of my own time-aware map services with a timeslider controlling the display of the features. &amp;nbsp;I now want to add the option to display the LIVE traffic data from ArcGIS Online (unaffected by the timeslider). &amp;nbsp;I know how to display the traffic data normally, that's fine.&lt;/P&gt;&lt;P&gt;The problem is I don't want the traffic data to be affected by the timeslider (because it is live data), I only want the timeslider to control the features in my own map service. &amp;nbsp;But because the timeslider is added to the 'map', and not a specific&amp;nbsp;DynamicMapServiceLayer, it wants to control both my&amp;nbsp;DynamicMapServiceLayer and the traffic data &lt;SPAN&gt;DynamicMapServiceLayer, the result being the traffic data&lt;/SPAN&gt;&amp;nbsp;disappears from the map.&lt;/P&gt;&lt;P&gt;When my code applies the timeslider to the map with:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;map.setTimeSlider(timeSlider);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;timeSlider.startup();&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The traffic data disappears because both services are added to the 'map'. &amp;nbsp;I need to be able to display historic data from my service controlled by the timeslider AND the live traffic data unaffected by the timeslider. &amp;nbsp;Alternatively a way to toggle between the two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please tell me how I can make this work? &amp;nbsp;How can I essentially break the relationship between the traffic service from the timeslider so I can show the live traffic data at the same time as having a timeslider applied to the map?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, how can destroy the timeslider to allow me to at least toggle between viewing the traffic data and the time-aware data in my other service?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Mark.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 12:22:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-online-traffic-data-and-timeslider-conflict/m-p/703163#M65425</guid>
      <dc:creator>MarkSmith</dc:creator>
      <dc:date>2017-01-04T12:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online Traffic data and TimeSlider conflict</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-online-traffic-data-and-timeslider-conflict/m-p/703164#M65426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;An ArcGISDynamicMapServiceLayer has a&amp;nbsp;setUseMapTime method that you will use to set it to false.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/arcgisdynamicmapservicelayer-amd.html#setusemaptime" title="https://developers.arcgis.com/javascript/3/jsapi/arcgisdynamicmapservicelayer-amd.html#setusemaptime"&gt;ArcGISDynamicMapServiceLayer | API Reference | ArcGIS API for JavaScript 3.19 | setUseMapTime&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 13:43:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-online-traffic-data-and-timeslider-conflict/m-p/703164#M65426</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-01-04T13:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online Traffic data and TimeSlider conflict</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-online-traffic-data-and-timeslider-conflict/m-p/703165#M65427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic, thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 13:53:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-online-traffic-data-and-timeslider-conflict/m-p/703165#M65427</guid>
      <dc:creator>MarkSmith</dc:creator>
      <dc:date>2017-01-04T13:53:45Z</dc:date>
    </item>
  </channel>
</rss>

