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:
Andreas Hocevar
2014-10-29 20:05:34 +01:00
parent abb86e16f0
commit 87a06c0086
6 changed files with 7 additions and 6 deletions

View File

@@ -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_;
};