Skip to content

Add timeviewer capability#23

Open
gryckelynck wants to merge 2 commits intogeorchestra:masterfrom
cigalsace:timeviewer
Open

Add timeviewer capability#23
gryckelynck wants to merge 2 commits intogeorchestra:masterfrom
cigalsace:timeviewer

Conversation

@gryckelynck
Copy link
Copy Markdown

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

Comment thread js/sviewer.js Outdated

// querystring param: add timeLayer for timeViewer
if (qs.timeLayer) {
console.log(qs.timeLayer)
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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