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 download button if layer accessible using WFS. #1438

Merged
merged 2 commits into from
Feb 23, 2016

Conversation

fxprunayre
Copy link
Member

image

Related to #157

Implementation:

  • check if the WMS layers is accessible using a WFS service (at same endpoint as the WMS or by substituting WMS by WFS in URL). If none found, button not displayed
  • providing the list of format
  • download all or only in current view
  • projection used is the default for the feature type.

Also rework layer options in a popup.

@fxprunayre fxprunayre added this to the 3.1.0 milestone Feb 11, 2016
link: function(scope, element, attrs, ctrls) {
scope.isWfsAvailable = false;

function init() {
Copy link
Member

Choose a reason for hiding this comment

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

Launch init on LAZY mode, after the dropdown is opened.

fgravin added a commit that referenced this pull request Feb 23, 2016
Add download button if layer accessible using WFS.
@fgravin fgravin merged commit aa0f172 into geonetwork:develop Feb 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants