Handle vector layer opacity

This commit is contained in:
Tom Payne
2013-11-20 11:41:51 +01:00
parent 633920d0f7
commit 9a11cb87aa
@@ -85,6 +85,7 @@ ol.renderer.canvas.VectorLayer.prototype.composeFrame =
-viewCenter[1],
0);
context.globalAlpha = layerState.opacity;
batchGroup.draw(context, transform);
};