<?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 Temporal data supported by Vector Tile Layer? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/temporal-data-supported-by-vector-tile-layer/m-p/1136823#M43914</link>
    <description>&lt;P&gt;I want to display weather data that changes over time in vector format from our own vector tile server and I am trying to understand the ESRI javascript API and the Mapbox vector tiles.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The example to use a&amp;nbsp;&lt;STRONG&gt;VectorTileLayer&lt;/STRONG&gt; is easy to understand but I do not see any argument to specify the temporal extent. The only way I see to specify the date would be in the customParameters attribute but I think that is not well supported.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const layer = new VectorTileLayer({
      url: "https://myserver.com/rest/services/Weather_Data_VTL/VectorTileServer/"
  customParameters: {
   date_time: "2021-01-01T0Z",
   access_token: "access-token"
  }
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, the&amp;nbsp;CSVLayer can have a&amp;nbsp;timeInfo attribute but I have not seen the same in the&amp;nbsp;VectorTileLayer class.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// Create a csv layer from an online spreadsheet.
var csvLayer = new CSVLayer({
  url: "http://test.com/daily-magazines-sold-in-new-york.csv",
  timeInfo: {
    startField: "SaleDate" // The csv field contains date information.
  }
});

// Create a mapview showing sales for the last week of March 2019 only.
var view = new MapView({
  map: map,
  container: "viewDiv",
  timeExtent: {
    start: new Date("2019, 2, 24"),
    end:   new Date("2019, 2, 31")
  }
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Whats the proper way to specify time information in a&amp;nbsp;VectorTileLayer? Is that even possible?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jan 2022 12:24:03 GMT</pubDate>
    <dc:creator>JesusMartinBerlanga</dc:creator>
    <dc:date>2022-01-25T12:24:03Z</dc:date>
    <item>
      <title>Temporal data supported by Vector Tile Layer?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/temporal-data-supported-by-vector-tile-layer/m-p/1136823#M43914</link>
      <description>&lt;P&gt;I want to display weather data that changes over time in vector format from our own vector tile server and I am trying to understand the ESRI javascript API and the Mapbox vector tiles.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The example to use a&amp;nbsp;&lt;STRONG&gt;VectorTileLayer&lt;/STRONG&gt; is easy to understand but I do not see any argument to specify the temporal extent. The only way I see to specify the date would be in the customParameters attribute but I think that is not well supported.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const layer = new VectorTileLayer({
      url: "https://myserver.com/rest/services/Weather_Data_VTL/VectorTileServer/"
  customParameters: {
   date_time: "2021-01-01T0Z",
   access_token: "access-token"
  }
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, the&amp;nbsp;CSVLayer can have a&amp;nbsp;timeInfo attribute but I have not seen the same in the&amp;nbsp;VectorTileLayer class.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// Create a csv layer from an online spreadsheet.
var csvLayer = new CSVLayer({
  url: "http://test.com/daily-magazines-sold-in-new-york.csv",
  timeInfo: {
    startField: "SaleDate" // The csv field contains date information.
  }
});

// Create a mapview showing sales for the last week of March 2019 only.
var view = new MapView({
  map: map,
  container: "viewDiv",
  timeExtent: {
    start: new Date("2019, 2, 24"),
    end:   new Date("2019, 2, 31")
  }
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Whats the proper way to specify time information in a&amp;nbsp;VectorTileLayer? Is that even possible?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 12:24:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/temporal-data-supported-by-vector-tile-layer/m-p/1136823#M43914</guid>
      <dc:creator>JesusMartinBerlanga</dc:creator>
      <dc:date>2022-01-25T12:24:03Z</dc:date>
    </item>
  </channel>
</rss>

