Skip to content
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

Add timeviewer capability #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gryckelynck
Copy link

Add timeviewer capability to sviewer as was presented in geoCom 2016.
Demo: https://www.cigalsace.org/tools/timeviewer/?timeLayer=cigal:CIGAL_demo_atmo_iqa_temporel_Alsace_C48


// querystring param: add timeLayer for timeViewer
if (qs.timeLayer) {
console.log(qs.timeLayer)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

console.log, really ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

definitely not recommended for production code...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oups...
Also lines: 1477, 1486, 1490 & 1491...

@gryckelynck
Copy link
Author

Use:
Add one parameter in URL : "timeLayer" with the name of time layer WMS.
Ex.: ?timeLayer=cigal:CIGAL_demo_atmo_iqa_temporel_Alsace_C48
Time slider is display only if a timeLayer is define and this WMS layer as time dimension active.

To create a Time WMS cf. https://github.com/cigalsace/timeviewer/blob/master/README.md

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

Successfully merging this pull request may close these issues.

2 participants