Skip to content

Commit

Permalink
Merge pull request #277 from bbinet/fix-wmts-parser
Browse files Browse the repository at this point in the history
Add defaultNamespaceURI and errorProperty properties for WMTS.
  • Loading branch information
bbinet committed Mar 5, 2013
2 parents 68919b5 + 8b3cfda commit ade4213
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ol/parser/ogc/wmtscapabilities_v1_0_0.js
Expand Up @@ -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) {
Expand Down

0 comments on commit ade4213

Please sign in to comment.