Skip to content

Commit

Permalink
fixe on Mauro's request
Browse files Browse the repository at this point in the history
  • Loading branch information
kappu committed Feb 13, 2017
1 parent 8133102 commit 79a1cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/client/api/WMS.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const flatLayers = (root) => {
}, []) : (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;
return 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;
};
const searchAndPaginate = (json, startPosition, maxRecords, text) => {
const root = (json.WMS_Capabilities || json.WMT_MS_Capabilities).Capability;
Expand Down

0 comments on commit 79a1cdd

Please sign in to comment.