<?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 Example for TimeSlider in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/example-for-timeslider/m-p/1030934#M3978</link>
    <description>&lt;P&gt;I currently try to implement the TimeSlider Widget with QtQuick. For a better understanding of this TimeAware things i want to know if there is any example for the TimeSlider from Toolkit. I look for something like the first animation/gif here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-runtime-sdks-blog/building-a-better-toolkit/ba-p/888826" target="_blank"&gt;https://community.esri.com/t5/arcgis-runtime-sdks-blog/building-a-better-toolkit/ba-p/888826&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am satisfied too, if there is any other example to understand the TimeAware Feature a bit better?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2021 12:29:05 GMT</pubDate>
    <dc:creator>nikschm00</dc:creator>
    <dc:date>2021-02-26T12:29:05Z</dc:date>
    <item>
      <title>Example for TimeSlider</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/example-for-timeslider/m-p/1030934#M3978</link>
      <description>&lt;P&gt;I currently try to implement the TimeSlider Widget with QtQuick. For a better understanding of this TimeAware things i want to know if there is any example for the TimeSlider from Toolkit. I look for something like the first animation/gif here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-runtime-sdks-blog/building-a-better-toolkit/ba-p/888826" target="_blank"&gt;https://community.esri.com/t5/arcgis-runtime-sdks-blog/building-a-better-toolkit/ba-p/888826&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am satisfied too, if there is any other example to understand the TimeAware Feature a bit better?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 12:29:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/example-for-timeslider/m-p/1030934#M3978</guid>
      <dc:creator>nikschm00</dc:creator>
      <dc:date>2021-02-26T12:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Example for TimeSlider</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/example-for-timeslider/m-p/1031667#M3983</link>
      <description>&lt;P&gt;You can get TimeSlider up and running by doing the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Create a new Qt Quick C++ project from our template&lt;/P&gt;&lt;P&gt;- include the toolkit PRI in your pro file -&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;include&lt;/SPAN&gt;(/path/to/arcgis-runtime-qt-toolkit/uitools/toolkitcpp.pri)&lt;/PRE&gt;&lt;P&gt;-&amp;nbsp; register your components in the main.cpp -&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#&lt;SPAN&gt;include&lt;/SPAN&gt; &amp;lt;&lt;SPAN&gt;Esri&lt;/SPAN&gt;/&lt;SPAN&gt;ArcGISRuntime&lt;/SPAN&gt;/&lt;SPAN&gt;Toolkit&lt;/SPAN&gt;/&lt;SPAN&gt;register&lt;/SPAN&gt;.&lt;SPAN&gt;h&lt;/SPAN&gt;&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;Esri&lt;/SPAN&gt;::&lt;SPAN&gt;ArcGISRuntime&lt;/SPAN&gt;::&lt;SPAN&gt;Toolkit&lt;/SPAN&gt;::&lt;SPAN&gt;registerComponents&lt;/SPAN&gt;(&lt;SPAN&gt;engine&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;P&gt;- Add a timeslider to your qml:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;    MapView {
        id: view
        anchors.fill: parent
        // set focus to enable keyboard navigation
        focus: true

        TimeSlider {
            anchors {
                left: parent.left
                right: parent.right
                bottom: parent.bottom
            }

            geoView: view
        }
    }&lt;/LI-CODE&gt;&lt;P&gt;- Add a time enabled layer, such as &lt;A href="https://sampleserver6.arcgisonline.com/arcgis/rest/services/Hurricanes/MapServer" target="_self"&gt;this map image layer&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;ToolkitTestCppQuick::ToolkitTestCppQuick(QObject* parent /* = nullptr */):
    QObject(parent),
    m_map(new Map(Basemap::streets(this), this))
{
    auto imgLyr = new ArcGISMapImageLayer(QUrl("https://sampleserver6.arcgisonline.com/arcgis/rest/services/Hurricanes/MapServer"), this);
    m_map-&amp;gt;operationalLayers()-&amp;gt;append(imgLyr);
}&lt;/LI-CODE&gt;&lt;P&gt;- The time slider will automatically get the time extent, and you can manipulate/filter the time:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="time.gif" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7221i7FCB4D3B8861E69C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="time.gif" alt="time.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 20:57:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/example-for-timeslider/m-p/1031667#M3983</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-03-01T20:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Example for TimeSlider</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/example-for-timeslider/m-p/1031812#M3984</link>
      <description>&lt;P&gt;Perfect, thanks&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 07:43:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/example-for-timeslider/m-p/1031812#M3984</guid>
      <dc:creator>nikschm00</dc:creator>
      <dc:date>2021-03-02T07:43:47Z</dc:date>
    </item>
  </channel>
</rss>

