ArcGis use camelcase 'Style', not lowercase 'style'

The OGC documentation is not so clear if we should use style or Style.
This commit is contained in:
Bruno Binet
2013-03-21 11:02:01 +01:00
parent 932c284a2e
commit 7fec1f5208
+1
View File
@@ -47,6 +47,7 @@ ol.source.WMTS = function(wmtsOptions) {
var context = { var context = {
'Layer': wmtsOptions.layer, 'Layer': wmtsOptions.layer,
'style': wmtsOptions.style, 'style': wmtsOptions.style,
'Style': wmtsOptions.style,
'TileMatrixSet': wmtsOptions.matrixSet 'TileMatrixSet': wmtsOptions.matrixSet
}; };
goog.object.extend(context, dimensions); goog.object.extend(context, dimensions);