summaryrefslogtreecommitdiff
path: root/misc/openlayers/lib/OpenLayers/Format/WCSCapabilities/v1.js
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2015-10-17 21:36:38 +0200
committerChris Schlaeger <chris@linux.com>2015-10-17 21:36:38 +0200
commite30f267181d990947e67909de4809fa941698c85 (patch)
tree46e9f94c2b3699ed378963b420b8a8d361286ea1 /misc/openlayers/lib/OpenLayers/Format/WCSCapabilities/v1.js
parente763ceb183f389fcd314a4a6a712d87c9d4cdb32 (diff)
downloadpostrunner-e30f267181d990947e67909de4809fa941698c85.zip
Upgrading openlayers to 3.x
Diffstat (limited to 'misc/openlayers/lib/OpenLayers/Format/WCSCapabilities/v1.js')
-rw-r--r--misc/openlayers/lib/OpenLayers/Format/WCSCapabilities/v1.js55
1 files changed, 0 insertions, 55 deletions
diff --git a/misc/openlayers/lib/OpenLayers/Format/WCSCapabilities/v1.js b/misc/openlayers/lib/OpenLayers/Format/WCSCapabilities/v1.js
deleted file mode 100644
index bf8da3b..0000000
--- a/misc/openlayers/lib/OpenLayers/Format/WCSCapabilities/v1.js
+++ /dev/null
@@ -1,55 +0,0 @@
-/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for
- * full list of contributors). Published under the 2-clause BSD license.
- * See license.txt in the OpenLayers distribution or repository for the
- * full text of the license. */
-
-/**
- * @requires OpenLayers/Format/WCSCapabilities.js
- */
-
-/**
- * Class: OpenLayers.Format.WCSCapabilities.v1
- * Abstract class not to be instantiated directly.
- *
- * Inherits from:
- * - <OpenLayers.Format.XML>
- */
-OpenLayers.Format.WCSCapabilities.v1 = OpenLayers.Class(
- OpenLayers.Format.XML, {
-
- regExes: {
- trimSpace: (/^\s*|\s*$/g),
- splitSpace: (/\s+/)
- },
-
- /**
- * Property: defaultPrefix
- */
- defaultPrefix: "wcs",
-
- /**
- * APIMethod: read
- * Read capabilities data from a string, and return a list of coverages.
- *
- * Parameters:
- * data - {String} or {DOMElement} data to read/parse.
- *
- * Returns:
- * {Array} List of named coverages.
- */
- read: function(data) {
- if(typeof data == "string") {
- data = OpenLayers.Format.XML.prototype.read.apply(this, [data]);
- }
- var raw = data;
- if(data && data.nodeType == 9) {
- data = data.documentElement;
- }
- var capabilities = {};
- this.readNode(data, capabilities);
- return capabilities;
- },
-
- CLASS_NAME: "OpenLayers.Format.WCSCapabilities.v1"
-
-}); \ No newline at end of file