initialize the WMTS layer with style.identifier instead of the whole object. r=bartvde (closes #3027)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11135 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -149,7 +149,7 @@ OpenLayers.Format.WMTSCapabilities = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
OpenLayers.Util.applyDefaults(config, {
|
||||
url: capabilities.operationsMetadata.GetTile.dcp.http.get,
|
||||
name: layerDef.title,
|
||||
style: style,
|
||||
style: style.identifier,
|
||||
matrixIds: matrixSet.matrixIds
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user