Synchronizing highlight layer with moving feature layer
Therefore, when user selects a feature from a moving feature layer which updates it's location with an interval, highlight cirlce stays at a constant location while feature changes it's location. This does not seems to be very handy.
I suggest to make highlight layer synchronized with feature layers.
This observation is done using HTML5 Viewer version 2.9.2 (GE version 4.8.2).
-
If the highlight was done with your own search workflow, you could run a timed thread (looping) that re-selects (re-draws) the currently selected items.
Example :
1. You select 6 point features with your "multiple-tracking Identify" workflow (ex: 6 cars moving on your map)
2. Your workflow remembers the 6 ObjectIDs of the highlighted cars.
3. Every 5 seconds, you loop through a procedure that "refreshes" your selection-set : erase the 6 old circles, and re-draws them at the 6 new locations.
4. Note that your custom workflow will need a "stop tracking" function, otherwise it will be very confusing if you want to select something else (a parcel/propery for example)I can assist you in developing workflows : f@poliart.com
0
Please sign in to leave a comment.
Comments
1 comment