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

Refresh interval on WMS #177

Merged
merged 4 commits into from
Sep 12, 2018
Merged

Refresh interval on WMS #177

merged 4 commits into from
Sep 12, 2018

Conversation

pelord
Copy link
Member

@pelord pelord commented Aug 23, 2018

Please check if the PR fulfills these requirements

What is the current behavior? (You can also link to an open issue here)

What is the new behavior?
Refresh WMS layer based on a parameter. #165
An enhancement would be to refresh WFS & Feature Datasources.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[X] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications:

Other information:

@@ -20,6 +20,7 @@ export interface DataSourceOptions {
// view?: ol.olx.layer.ImageOptions;
// displayField?: string;
ol?: olSource;
refreshIntervalSec?: number;
Copy link
Member

Choose a reason for hiding this comment

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

should be only in wms-datasource.interface.ts

@pelord
Copy link
Member Author

pelord commented Sep 11, 2018

Files has been modified according to reviewer's comment.

@mbarbeau mbarbeau merged commit f8c40ea into master Sep 12, 2018
@mbarbeau mbarbeau deleted the refreshIntervalOnService branch September 12, 2018 17:59
ulysseskao added a commit to XimpleTech/igo2-lib that referenced this pull request Nov 1, 2018
feat(wms): Refresh interval on WMS (infra-geo-ouverte#177)

* setting demo to refresh a layer every 15 seconds.

* adding refreshIntervalSec on DataSourceOptions

* adding refresh interval on wms.

* moving from datasource interface to wms interface.
feat(print): Improve Print module (infra-geo-ouverte#179)

* Add printing output format (pdf, Image) combobox
Change print format to print paper format

* (change) to (selectionChange) after angular update

* Temporary remove Resolution parameter for printing
Fix image size to fit pdf page

* Fix Internet Explorer issue with window.open and getComputedStyle to generate the legend (use local div instead)
Add WorldFile for tiff
Remove resolution for future TODO amelioration

* Update fr.geo.json

* Update print.service.ts

* Add jsZip to be able to download one file in print module
Add checkbox for zip
Add loading
Fix pdf with legend in IE

* Add layer "embâcle" in the demo
Ajust css display
change element display instead of disabling

* Update package.json

Add dependencies for geo lib

* Update ng-package.prod.json

* Update ng-package.json
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