Addressing @sbrunner's review comment
This commit is contained in:
1 parent
f055f13a3a
commit
ea86afec16
1 file changed
+2
-2
@@ -199,12 +199,12 @@ OpenLayers.Format.WMTSCapabilities.v1_0_0 = OpenLayers.Class(
|
||||
if (!obj.resourceUrls) {
|
||||
obj.resourceUrls = [];
|
||||
}
|
||||
var resourceType = obj.resourceUrl[resourceType] = {
|
||||
var resourceUrl = obj.resourceUrl[resourceType] = {
|
||||
format: node.getAttribute("format"),
|
||||
template: node.getAttribute("template"),
|
||||
resourceType: resourceType
|
||||
};
|
||||
obj.resourceUrls.push(resourceType);
|
||||
obj.resourceUrls.push(resourceUrl);
|
||||
},
|
||||
// not used for now, can be added in the future though
|
||||
/*"Themes": function(node, obj) {
|
||||
|
||||
Reference in new issue
Block a user