Label Most Recent Value in Time/Range Animation

409
1
11-08-2018 04:59 AM
MeleKoneya
Occasional Contributor III

I am trying to create an animation of our City's annexations.     I would like to have the animation accumulate the annexations as it progresses though the timeline.    This I can do easily with the time slider by starting with the first year.  locked and stepping through each year.   

What I am struggling with is how to label only the newest annexation.     

I have tried to set up a separate layer in my map with range enabled on a integer field called sequence. 

While the annexation polygons honor the range I have set the labeling doesn't as I step through the range. 

I thought of advancing the time slider one year and the range slider one value to show the newest annexation, but it does not seem to honor the range when labeling.     It is confusing as to what is being labeled.   

I have also used Arcade with a a Max function on an integer column and again,  it gives inconsistent results.    Labeling shows up features that are not visible in bot the Range approach and the Arcade approach.   

Any suggestions on how to show the annexations newest value and label it?   

Do I need to create a function to get the max value of the features and then label that?

Thanks,

mele.

Tags (1)
0 Kudos
1 Reply
MeleKoneya
Occasional Contributor III

Some times the easiest solution is the one that works the best.     By removing the labeling classes I had and using only one class,  I was able to get the Range Slider to work with labeling.    I am not sure if by having a SQL statement for the labeling threw things off for the Range Slider, but like I said,  consolidating my labeling to one class worked 

0 Kudos