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:
Bart van den Eijnden
2013-02-19 16:32:56 +01:00
parent a55a6bda3b
commit 5e29830462
16 changed files with 1334 additions and 2 deletions

View File

@@ -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)
};
};