Handle vector layer opacity

This commit is contained in:
Tom Payne
2013-11-07 15:26:23 +01:00
parent 633920d0f7
commit 9a11cb87aa

View File

@@ -85,6 +85,7 @@ ol.renderer.canvas.VectorLayer.prototype.composeFrame =
-viewCenter[1],
0);
context.globalAlpha = layerState.opacity;
batchGroup.draw(context, transform);
};