Select to view content in your preferred language

moved

756
5
10-22-2012 08:35 AM
ThomasDickerson
Emerging Contributor
I'm trying to use the TimeSlider with a TemporalRenderer, to display some motion tracks.  My code was working fine in version 2.8 of the Javascript API, but I just recently tried to move to version 3.2, and found that my code didn't work entirely.

I've created a generalized / de-identified example to illustrate my problem, with a v2.8 page, and a v3.2 page.  Click Request to load the points.  (Note:  I'm working in Firefox 16.0.1.)

Version 2.8: http://www.cgit.vt.edu/projectwebs/tadtest/timeslider/testv28.html

Version 3.2: http://www.cgit.vt.edu/projectwebs/tadtest/timeslider/testv32.html

I'm having two issues the v3.2 example.  First, the points aren't connected by the trackRenderer.  Second, grabbing the middle part of the timespan on the timeSlider to shift the displayed time window doesn't work exactly, there seems to be a displacement / shift between where I grab, and where the bar is moving to.


(I realize that neither example works in IE, but I think that's a different problem, and not what I'm focused on right now.)
0 Kudos
5 Replies
DawenXie
Regular Contributor
"Second, grabbing the middle part of the timespan on the timeSlider to shift the displayed time window doesn't work exactly, there seems to be a displacement / shift between where I grab, and where the bar is moving to."

It seems that the live sample provided by ESRI in the following URL has this problem. I have tried it in Firefox and Chrome.
http://help.arcgis.com/en/webapi/javascript/arcgis/samples/time_snapshot/index.html
0 Kudos
martinschmoll
Deactivated User
Version 3.2 of the API broke track rendering, as confirmed by Kelly Hutchins.

I need track rendering, so I went back to version 3.1.
0 Kudos
ThomasDickerson
Emerging Contributor
Ok, thanks, I guess I'll revert to an older version of the API.  I'll mark this as "answered".

I'm still not sure about the offset that happens when you grab and drag the timespan on the slider.
0 Kudos
MichaelFazio1
New Contributor
Was this issue ever resolved? I'm using version 3.9 of the ArcGIS JavaScript SDK and cannot get track lines to render?
0 Kudos
KenBuja
MVP Esteemed Contributor
Have you seen this sample that shows tracks with "aging"? It was updated to 3.9 and seems to work properly.
0 Kudos