<?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 Bug with 'Time' enabled FeatureLayers? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-time-enabled-featurelayers/m-p/411370#M37902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think there maybe a bug with the Javascript API when working with a 'Time' enabled FeatureLayer. Can anyone else confirm?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a layer of individual point which originates from a SQL Server database (I used Make Query Table to add the layer to my map). With 'Time' disabled I am able to use the Javascript API and add this layer as a FeatureLayer, I can then add functions like being able to hover over the points to show information etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As soon as I enable 'Time' in my MXD, restart the GIS Service and refresh my web application I see nothing but the underlying map. I know the data is being returned from the server because the legend is being written and I am able to print information from individual points as text on the page - I just can't visualise the points!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jan 2011 12:15:05 GMT</pubDate>
    <dc:creator>MR</dc:creator>
    <dc:date>2011-01-11T12:15:05Z</dc:date>
    <item>
      <title>Bug with 'Time' enabled FeatureLayers?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-time-enabled-featurelayers/m-p/411370#M37902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think there maybe a bug with the Javascript API when working with a 'Time' enabled FeatureLayer. Can anyone else confirm?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a layer of individual point which originates from a SQL Server database (I used Make Query Table to add the layer to my map). With 'Time' disabled I am able to use the Javascript API and add this layer as a FeatureLayer, I can then add functions like being able to hover over the points to show information etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As soon as I enable 'Time' in my MXD, restart the GIS Service and refresh my web application I see nothing but the underlying map. I know the data is being returned from the server because the legend is being written and I am able to print information from individual points as text on the page - I just can't visualise the points!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 12:15:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-time-enabled-featurelayers/m-p/411370#M37902</guid>
      <dc:creator>MR</dc:creator>
      <dc:date>2011-01-11T12:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with 'Time' enabled FeatureLayers?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-time-enabled-featurelayers/m-p/411371#M37903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have seen similar issues if I have the 'Enable time on map' button on ArcMap's Time Slider window pressed.&amp;nbsp; The link below is to the server help, can you check your map document in ArcMap and see if the Enable Time on Map button on the Time Slider window is pressed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005z0000000z000000.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005z0000000z000000.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 15:01:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-time-enabled-featurelayers/m-p/411371#M37903</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2011-01-11T15:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with 'Time' enabled FeatureLayers?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-time-enabled-featurelayers/m-p/411372#M37904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the swift response Kelly - I shall try this when I'm back at work tomorrow and provide an update.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll kick myself if it's this simple!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 15:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-time-enabled-featurelayers/m-p/411372#M37904</guid>
      <dc:creator>MR</dc:creator>
      <dc:date>2011-01-11T15:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with 'Time' enabled FeatureLayers?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-time-enabled-featurelayers/m-p/411373#M37905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kelly, no such luck I'm afraid - that had no effect on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any other thoughts? Happy to provide any additional information if needed but unfortuantely my server is on deployed on a local Intranet so no Internet access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using ArcGIS Server 10.01 (SP1) if that makes any difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 11:43:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-time-enabled-featurelayers/m-p/411373#M37905</guid>
      <dc:creator>MR</dc:creator>
      <dc:date>2011-01-12T11:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with 'Time' enabled FeatureLayers?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-time-enabled-featurelayers/m-p/411374#M37906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post your code? Perhaps there's something in the code that is causing an issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 14:18:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-time-enabled-featurelayers/m-p/411374#M37906</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2011-01-12T14:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with 'Time' enabled FeatureLayers?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-time-enabled-featurelayers/m-p/411375#M37907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well I took the Huricane Explorer from the API samples (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/time_snapshot.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/time_snapshot.html&lt;/A&gt;&lt;SPAN&gt;) and swapped in my ArcGISTiledMapServiceLayer, FeatureLayer and changed the range of years the timeSlider ranges from. This is the application where I can see that the data is being returned from the server because where it's supposed to show the Active Huricanes I changed "feature.attributes.NAME;" to var hurricaneName = feature.attributes.OBJECTID; to output the object id's from my data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When this wasn't working I tried a more simple version, code below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Please note I hand typed this from one computer to another so there might be the odd typo!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-/W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;nbsp; &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&amp;gt;
&amp;nbsp; &amp;lt;title&amp;gt;Test&amp;lt;/title&amp;gt;
&amp;nbsp; &amp;lt;link rel="stylesheet" type="text/css" href="http://lord-gis/arcgis_js_api/library/2.1/arcgis/js/dojo/dijit/themes/claro/claro.css"&amp;gt;
&amp;nbsp; &amp;lt;script type="javascript"&amp;gt;
&amp;nbsp;&amp;nbsp; var djConfig = { parseOnLoad: true };
&amp;nbsp; &amp;lt;/script&amp;gt;
&amp;nbsp; &amp;lt;script type="text/javascript" src="http://http://lord-gis/arcgis_js_api/library/2.1/arcgis"&amp;gt;
&amp;nbsp; &amp;lt;/script&amp;gt;
&amp;nbsp; &amp;lt;script type="text/javascript" language="javascript"&amp;gt;
&amp;nbsp;&amp;nbsp; dojo.require("esri.map");
&amp;nbsp;&amp;nbsp; dojo.require("esri.layers.FeatureLayer");
 
&amp;nbsp;&amp;nbsp; function init() {
 
&amp;nbsp;&amp;nbsp;&amp;nbsp; var map = new esri.Map("map");
&amp;nbsp;&amp;nbsp;&amp;nbsp; var map basemap = new esri.layers.ArcGISTilesMapServiceLayer("http://lord-gis/ArcGIS/rest/services/LORD/AFG_BaseMapping/MapServer");
&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(baseMap);
 
&amp;nbsp;&amp;nbsp;&amp;nbsp; var timeLayers = [];
&amp;nbsp;&amp;nbsp;&amp;nbsp; var iedLayer = new esri.layers.FeatureLayer("http://lord-gis/ArcGIS/rest/services/LORD/TestMap/MapServer/0", {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: esri.layers.FeatureLayer.MODE_SNAPSHOT,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"]
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; timeLayers.push(iedLayer);
 
&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayers(timeLayers);
&amp;nbsp;&amp;nbsp; }
 
&amp;nbsp;&amp;nbsp; dojo.addOnLoad(init);
&amp;nbsp; &amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
 
&amp;lt;body class="claro"&amp;gt;
&amp;nbsp; &amp;lt;div id="map" style="width:800px; height:600px;"&amp;gt;
&amp;nbsp; &amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:40:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-time-enabled-featurelayers/m-p/411375#M37907</guid>
      <dc:creator>MR</dc:creator>
      <dc:date>2021-12-11T18:40:48Z</dc:date>
    </item>
  </channel>
</rss>

