Add brightness and contrast controls, thanks @evanw

This commit is contained in:
Tom Payne
2012-07-22 02:24:17 +02:00
parent 883089c3d1
commit ec2ab8265c
4 changed files with 88 additions and 0 deletions
+16
View File
@@ -56,6 +56,22 @@ ol.webgl.LayerRenderer.prototype.getMap = function() {
ol.webgl.LayerRenderer.prototype.getMatrix = goog.abstractMethod;
/**
* @inheritDoc
*/
ol.webgl.LayerRenderer.prototype.handleLayerBrightnessChange = function() {
this.dispatchChangeEvent();
};
/**
* @inheritDoc
*/
ol.webgl.LayerRenderer.prototype.handleLayerContrastChange = function() {
this.dispatchChangeEvent();
};
/**
* @inheritDoc
*/