Add support of WMTS Get Cap read

This commit fixe #2721. It still lacks the possibility to create layer from the GetCap document. It also lacks the reading of TMS limits.
This commit is contained in:
Hadrien Tulipe
2015-02-03 14:43:49 +01:00
parent 38c80e7f9b
commit 87644a1a46
8 changed files with 3164 additions and 472 deletions

View File

@@ -0,0 +1,8 @@
goog.require('ol.format.WMTSCapabilities');
var parser = new ol.format.WMTSCapabilities();
$.ajax('data/WMTSCapabilities.xml').then(function(response) {
var result = parser.read(response);
$('#log').html(window.JSON.stringify(result, null, 2));
});