Allow olx.source.WMTSOptions#requestEncoding to be a string

This commit is contained in:
Frederic Junod
2014-10-27 13:48:47 +01:00
parent 70375d5227
commit 398b1f86ce
3 changed files with 5 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ var source = new ol.source.WMTS({
style: 'normal',
matrixSet: 'google3857',
urls: urls,
requestEncoding: /** @type {ol.source.WMTSRequestEncoding} */ ('REST'),
requestEncoding: 'REST',
tileGrid: new ol.tilegrid.WMTS({
origin: [-20037508.3428, 20037508.3428],
resolutions: [