<?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 Zoom to location that includes change in time extent in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/zoom-to-location-that-includes-change-in-time/m-p/74342#M1699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to implement a way for the user to press a button that zooms to a location (chosen by the user) and displays points within a specified time frame (also chosen by the user). I have attempted this in a couple of different ways, but none seem to work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, I have a combobox that has a set of geography. Once the user selects the geography of his/her choice, the map automatically zooms to it. I then have two DateFields (start/end) and want the user to choose the timeframe for which to display the data (a layer of points over several years). After reading some about TimeExtent, I have attempted to implement this with little success.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to do this through a query where the 'where' part is the geography selected by the user and also updates the TimeExtent. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have set up initial values in the DateFields, but am not sure how to code that changes have been made. Below is the code for the Query part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;esri:Query id="crashCntyQuery"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outSpatialReference="{safetyMap.spatialReference}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; returnGeometry="true"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text="{location.selectedItem}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeExtent="{te}"/&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;jeremy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 May 2011 12:10:28 GMT</pubDate>
    <dc:creator>deleted-user-rQoEFM5qzbHE</dc:creator>
    <dc:date>2011-05-17T12:10:28Z</dc:date>
    <item>
      <title>Zoom to location that includes change in time extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/zoom-to-location-that-includes-change-in-time/m-p/74342#M1699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to implement a way for the user to press a button that zooms to a location (chosen by the user) and displays points within a specified time frame (also chosen by the user). I have attempted this in a couple of different ways, but none seem to work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, I have a combobox that has a set of geography. Once the user selects the geography of his/her choice, the map automatically zooms to it. I then have two DateFields (start/end) and want the user to choose the timeframe for which to display the data (a layer of points over several years). After reading some about TimeExtent, I have attempted to implement this with little success.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to do this through a query where the 'where' part is the geography selected by the user and also updates the TimeExtent. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have set up initial values in the DateFields, but am not sure how to code that changes have been made. Below is the code for the Query part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;esri:Query id="crashCntyQuery"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outSpatialReference="{safetyMap.spatialReference}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; returnGeometry="true"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text="{location.selectedItem}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeExtent="{te}"/&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;jeremy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 12:10:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/zoom-to-location-that-includes-change-in-time/m-p/74342#M1699</guid>
      <dc:creator>deleted-user-rQoEFM5qzbHE</dc:creator>
      <dc:date>2011-05-17T12:10:28Z</dc:date>
    </item>
  </channel>
</rss>

