How to use the Time slider widget

3970
10
08-09-2010 11:03 PM
StephenLead
Regular Contributor III
I'm trying to implement the sample at http://help.arcgis.com/en/webapps/flexviewer/help/widgets/timeslider_widget.htm but can't work out how to hook it up to a time-aware layer.

I've got a point featureclass which is time-aware - it's shown in the services catalog as:

Time Info:
Start Time Field: Start
End Time Field: End
Track ID Field: N/A
Time Extent: [1851/01/01 00:00:00 UTC, 2010/01/01 00:00:00 UTC]
Time Reference: N/A
Time Interval: 8 (esriTimeUnitsYears)
Export Options:
Use Time: True
Time Data Cumulative: False
Time Offset: 0

There is a sample TimeWidget.xml included with the sample Flex Viewer - but how do I actually hook it up to my point layer? There's nothing in the XML file which shows which layer it should apply to.

Is it possible to see the full code used in the sample at http://help.arcgis.com/en/webapps/flexviewer/live/index.html?config=../samples/config-timeslider.xml ?

Thanks for any advice,
Steve
Tags (2)
0 Kudos
10 Replies
RobertScheitlin__GISP
MVP Emeritus
Guys,

    It must be something with your configuration or your map service. I was able to configure a polygon time enabled map service and it worked fine.
0 Kudos