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

Added GetMap onlineResource to layer in getCapabilities #1448

Merged
merged 2 commits into from
Feb 13, 2017

Conversation

kappu72
Copy link
Contributor

@kappu72 kappu72 commented Feb 13, 2017

No description provided.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 76.552% when pulling 8133102 on kappu72:master into d8e1e31 on geosolutions-it:master.

@@ -33,9 +33,12 @@ const flatLayers = (root) => {
return previous.concat(flatLayers(current)).concat((current.Layer && current.Name) ? [current] : []);
}, []) : (root.Name && [root] || []);
};

const getOnlineResource = (c) => {
return c.Request && c.Request && c.Request.GetMap && c.Request.GetMap.DCPType && c.Request.GetMap.DCPType.HTTP && c.Request.GetMap.DCPType.HTTP.Get && c.Request.GetMap.DCPType.HTTP.Get.OnlineResource && c.Request.GetMap.DCPType.HTTP.Get.OnlineResource.$ || undefined;
Copy link
Contributor

Choose a reason for hiding this comment

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

c.Request && c.Request

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 76.583% when pulling 79a1cdd on kappu72:master into d8e1e31 on geosolutions-it:master.

@mbarto mbarto merged commit 053933c into geosolutions-it:master Feb 13, 2017
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.

3 participants