arcgistrafficesri-leaflet

Does Arcgis World Traffic Service Support History Data?


Now, I use Esri Leaflet http://esri.github.io/esri-leaflet/examples/premium-content.html

I want to Access Arcgis World Traffic Service History data,

Because, I only got a live traffic data.

May I access one month ago traffic data or another days?

I want to play the 3 days or 7 days change, that why I need to access history data


Solution

  • May I access one month ago traffic data or another days?

    yes. ArcGIS World Traffic is a time-enabled service, which means it supports passing any Epoch timestamp (in milliseconds) as the time request parameter.

    https://traffic.arcgis.com/arcgis/rest/services/World/Traffic/MapServer/export?...time=1526022000000

    in Esri Leaflet, you can either use the to and from constructor options (live demo) or setTimeRange().