I've succesfully imported and set up the Heat Map for the ArcGIS Viewer for flex here:
http://www.arcgis.com/home/item.html...752da1340aeb40
However, I am unable to get the time functionality to show up. Any ideas on why it wouldn't show up at all? I'm not sure where I change the code to point it to the date field as well.
Attachment 24546
Here is my code:
<configuration>
<layers>
<layer>
<name>Part I Offenses HeatMap</name>
<url>http://server1:6080/arcgis/rest/services/Map/Op_Crime_All_Dynamic_SP/MapServer/0</url>
<outFields>addtime,Category</outFields>
<useproxy>false</useproxy>
<useamf>true</useamf>
<defaultquery>1=1</defaultquery>
<querytemplate>Category = REPLACE_STR</querytemplate>
<types>'Aggravated Assaults','Arson','Burglary','Homicide','Larceny/Theft','Rape','Robbery','Stolen Vehicles'</types>
<type_descs>Aggravated Assaults,Arson,Burglary,Homicide,Larceny/Theft,Rape,Robbery,Stolen Vehicles</type_descs>
</layer>
</layers>
<ui>
<widget_dimensions>
<width>410</width>
<height>206</height>
</widget_dimensions>
<icons>
<base_url>widgets/HeatMap/assets/images/</base_url>
<main_icon>i_rainbow.png</main_icon>
<main_label>Main Panel</main_label>
<settings_icon>i_options.png</settings_icon>
<settings_label>Settings Panel</settings_label>
</icons>
<refresh_label>Refreshing Layer...</refresh_label>
<query>
<comp_label>Part I Offenses:</comp_label>
<heatmapquery_prompt>All Offenses</heatmapquery_prompt>
<featurecount_label>Features Contained</featurecount_label>
</query>
<timeslider>
<loop>true</loop>
<thumbcount>2</thumbcount>
<thumbmovingrate>1200</thumbmovingrate>
<dateformat>MM/DD/YYYY</dateformat>
</timeslider>
<transparency>
<comp_label>Transparency:</comp_label>
<defaulttransparency>0.8</defaulttransparency>
</transparency>
<density>
<comp_label>Heat radius:</comp_label>
<defaultdensity>15</defaultdensity>
</density>
<symbol>
<comp_label>Colors:</comp_label>
<defaulttheme>CUSTOM</defaulttheme>
<customtheme>0xEBED95,0xEDB019,0xD24F0B,0xD21813,0xBA5B6D</customtheme>
</symbol>
</ui>
</configuration>