add support for the ol:tileSize layer property in WMC, p=fvanderbiest,r=me (Closes #2740)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10491 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -128,6 +128,11 @@ OpenLayers.Format.Context = OpenLayers.Class({
|
||||
opacity: layerContext.opacity,
|
||||
displayInLayerSwitcher: layerContext.displayInLayerSwitcher,
|
||||
singleTile: layerContext.singleTile,
|
||||
tileSize: (layerContext.tileSize) ?
|
||||
new OpenLayers.Size(
|
||||
layerContext.tileSize.width,
|
||||
layerContext.tileSize.height
|
||||
) : undefined,
|
||||
minScale: layerContext.minScale || layerContext.maxScaleDenominator,
|
||||
maxScale: layerContext.maxScale || layerContext.minScaleDenominator
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user