Select to view content in your preferred language

How to NOT draw cumulatively with TimeSlider widget?

1025
3
12-01-2011 09:36 AM
by Anonymous User
Not applicable
Hello all,

I have literally, just this week, dived into some Flex coding for the first time after a member of our office left and I had a website dumped into my lap. I've been able to look into the code and break down a number of things, but I'm having trouble with the TimeSlider widget.

What I am trying to do is show the progression of army troop movements over a series of three days. The data is there, the correct features are showing up on the day specified in the timeline, I just can't figure out how to get the previous day's features to "go away". Just about everything I have read - such as the sample earthquake maps - show data remaining on the screen as the timeline progresses. This is not what I want.

I hope I have described that well enough. I have searched all over the forums and have seemingly come to a dead end on this subject. Does anybody have any advice?

Thanks!
Tags (2)
0 Kudos
3 Replies
MehulChoksey
Esri Contributor
Could you try setting singlethumbastimeinstant to true?

<singlethumbastimeinstant>true</singlethumbastimeinstant>
0 Kudos
by Anonymous User
Not applicable
Mehul,

I appreciate the help. Unfortunately, this does not fix my problem. In fact, when I set this value to "true", my data does not draw at all. I am attaching my code. Can you tell me if there is something I'm doing wrong? Thanks!

<configuration>

    <dateformat>MMMM DD, YYYY</dateformat>
    <loop>false</loop>
    <singlethumbastimeinstant>true</singlethumbastimeinstant>
    <thumbcount>1</thumbcount>
    <createTimeInstant>false</createTimeInstant>
    <thumbmovingrate>1000</thumbmovingrate>
    <timeextent>
        <starttime>1863/11/23 4:59:00 UTC</starttime>
        <endtime>1863/11/26 4:59:00 UTC</endtime>
    </timeextent>
    <timestops>
        <timestopsinterval>1</timestopsinterval>
        <timestopsunits>days</timestopsunits>
    </timestops>

</configuration>
0 Kudos
SteveNelson
Frequent Contributor
Pretty sure you set that in the specific layer in the ArcMap.mxd that created your service.  It's part of the timeline properties.
0 Kudos