Add defaultNamespaceURI and errorProperty properties for WMTS.

Thanks @bartvde.
This commit is contained in:
Bruno Binet
2013-03-05 11:19:46 +01:00
parent 68919b5ee3
commit 8b3cfda963

View File

@@ -12,6 +12,8 @@ goog.require('ol.projection');
* @extends {ol.parser.XML}
*/
ol.parser.ogc.WMTSCapabilities_v1_0_0 = function() {
this.defaultNamespaceURI = 'http://www.opengis.net/wtms/1.0';
this.errorProperty = 'serviceIdentification';
this.readers = {
'http://www.opengis.net/wmts/1.0': {
'Capabilities': function(node, obj) {