<?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: LabelLayer ignoring TimeExtent changes in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labellayer-ignoring-timeextent-changes/m-p/678017#M63242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/13507"&gt;martin schmoll&lt;/A&gt;‌ - FYI, this has been fixed for the soon-to-be-released 3.11 JSAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2014 22:41:11 GMT</pubDate>
    <dc:creator>BjornSvensson</dc:creator>
    <dc:date>2014-09-30T22:41:11Z</dc:date>
    <item>
      <title>LabelLayer ignoring TimeExtent changes</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labellayer-ignoring-timeextent-changes/m-p/678015#M63240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the &lt;CODE&gt;esri/layers/LabelLayer &lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;module and have added a time-aware point FeatureLayer to it using the &lt;A href="https://developers.arcgis.com/javascript/jsapi/labellayer-amd.html#addfeaturelayer"&gt;addFeatureLayer&lt;/A&gt; method.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;The map has a TimeSlider.&amp;nbsp; When I change the time extent of the map, the labels for hidden points (outside of the time extent) remain displayed.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;How do I get the LabelLayer to react to TimeExtent changes?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 20:00:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labellayer-ignoring-timeextent-changes/m-p/678015#M63240</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-09-30T20:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: LabelLayer ignoring TimeExtent changes</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labellayer-ignoring-timeextent-changes/m-p/678016#M63241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nevermind, I solved it by connecting a function to the map "time-extent-change" event that:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;creates an empty array to hold the names of visible features in the feature layer&lt;/LI&gt;&lt;LI&gt;loops through the feature layer graphics&lt;UL&gt;&lt;LI&gt;if the feature layer graphic is visible, then add its name to an array of visible features&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;loops through the label layer graphics&lt;UL&gt;&lt;LI&gt;if graphic.symbol.text is in the array of visible feature names, then call graphic.show() else call graphic.hide()&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 21:06:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labellayer-ignoring-timeextent-changes/m-p/678016#M63241</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-09-30T21:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: LabelLayer ignoring TimeExtent changes</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labellayer-ignoring-timeextent-changes/m-p/678017#M63242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/13507"&gt;martin schmoll&lt;/A&gt;‌ - FYI, this has been fixed for the soon-to-be-released 3.11 JSAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 22:41:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labellayer-ignoring-timeextent-changes/m-p/678017#M63242</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2014-09-30T22:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: LabelLayer ignoring TimeExtent changes</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labellayer-ignoring-timeextent-changes/m-p/678018#M63243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok that's great, thanks for letting me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 13:29:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labellayer-ignoring-timeextent-changes/m-p/678018#M63243</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-10-01T13:29:57Z</dc:date>
    </item>
  </channel>
</rss>

