Add WMTS GetCapabilities parser
Implements WMTS GetCapabilities parser, which depends partly on an OWSCommon parser. Integration with the layer source will be done at a later stage.
This commit is contained in:
@@ -6,6 +6,12 @@ goog.provide('ol.parser.XML');
|
||||
* @constructor
|
||||
*/
|
||||
ol.parser.XML = function() {
|
||||
this.regExes = {
|
||||
trimSpace: (/^\s*|\s*$/g),
|
||||
removeSpace: (/\s*/g),
|
||||
splitSpace: (/\s+/),
|
||||
trimComma: (/\s*,\s*/g)
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user