Skip to content

How to: Dynamic duration or sliders for start and end #235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
IndianBoy42 opened this issue Mar 4, 2025 · 1 comment
Open

How to: Dynamic duration or sliders for start and end #235

IndianBoy42 opened this issue Mar 4, 2025 · 1 comment

Comments

@IndianBoy42
Copy link

I want plot a continuous path on the map and be able to highlight a custom section of that path. I have a featurecollection of points tagged with times and TimeDimension works but the duration (and thus the length of the highlighted section) is static

@r1m
Copy link
Contributor

r1m commented Mar 6, 2025

It is hard to answer with litte information.

Have a look at demo 15 : https://apps.socib.es/Leaflet.TimeDimension/examples/example15.html
You can define your own _getFeatureBetweenDates method to change the displayed features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants