Rename #getImageElement to #getImage
This adds consistency between ol.Image and ol.ImageTile. Now both have an exportable getImage method.
This commit is contained in:
@@ -33,6 +33,6 @@ goog.inherits(ol.ImageCanvas, ol.ImageBase);
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
ol.ImageCanvas.prototype.getImageElement = function(opt_context) {
|
||||
ol.ImageCanvas.prototype.getImage = function(opt_context) {
|
||||
return this.canvas_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user