You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
loving this plugin
If anyone can help me with the following questions, I'd be very grateful:
How can I display the 'current' date outside of the timeline control? It's good having it next to the slider, but I'd like it to be more prominent and placed elsewhere on the page
If I'm using a sidebar list of currently displayed features (as per the earthquakes sample), how would I sort these based on a particular attribute ? So relating to this to the earthquakes, they might be sorted by magnitude (quake.properties.mag)
thank you
Andrew
The text was updated successfully, but these errors were encountered:
The current time is available as a property on the timeline control, time. You can see this in the borders example -- open up the dev console and type in timelineControl.time. However, this isn't set until the control has at least one timeline assigned to it.
The code to show that list is here -- essentially you could just sort displayed using (e.g.) lodash's sortBy
I've got the current time working without too much trouble
The lodash documentation is a bit confusing (to me at least) so I'll have to tinker around with it
Hello,
loving this plugin
If anyone can help me with the following questions, I'd be very grateful:
How can I display the 'current' date outside of the timeline control? It's good having it next to the slider, but I'd like it to be more prominent and placed elsewhere on the page
If I'm using a sidebar list of currently displayed features (as per the earthquakes sample), how would I sort these based on a particular attribute ? So relating to this to the earthquakes, they might be sorted by magnitude (quake.properties.mag)
thank you
Andrew
The text was updated successfully, but these errors were encountered: