Move WCS_Capabilities reader into v_1_0_0 class
This commit is contained in:
@@ -50,21 +50,6 @@ OpenLayers.Format.WCSCapabilities.v1 = OpenLayers.Class(
|
||||
return capabilities;
|
||||
},
|
||||
|
||||
/**
|
||||
* Property: readers
|
||||
* Contains public functions, grouped by namespace prefix, that will
|
||||
* be applied when a namespaced node is found matching the function
|
||||
* name. The function will be applied in the scope of this parser
|
||||
* with two arguments: the node being read and a context object passed
|
||||
* from the parent.
|
||||
*/
|
||||
readers: {
|
||||
"wcs": {
|
||||
"WCS_Capabilities": function(node, obj) { // In 1.0.0, this was WCS_Capabilties, changed in 1.1.0
|
||||
this.readChildNodes(node, obj);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
CLASS_NAME: "OpenLayers.Format.WCSCapabilities.v1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user