From 15138605c36224eb268d7f58da098a7936a28aa8 Mon Sep 17 00:00:00 2001 From: Christopher Eykamp Date: Wed, 2 Jan 2013 12:48:55 +0100 Subject: [PATCH] Rename contents to contentMetadata to maintain some sort of continuity between WCS 1.0.0 and 1.1.0 --- lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js b/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js index efa4a7d15e..8dcb5f5e2f 100644 --- a/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js +++ b/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js @@ -64,14 +64,14 @@ OpenLayers.Format.WCSCapabilities.v1_1_0 = OpenLayers.Class( this.readChildNodes(node, obj); }, "Contents": function(node, request) { - request.contents = []; - this.readChildNodes(node, request.contents); + request.contentMetadata = []; + this.readChildNodes(node, request.contentMetadata); }, "CoverageSummary": function(node, contents) { var coverageSummary = {}; // Read the summary: this.readChildNodes(node, coverageSummary); - + // Add it to the contents array: contents.push(coverageSummary); },