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:
@@ -69,7 +69,7 @@ ol.renderer.canvas.ImageLayer.prototype.forEachFeatureAtPixel =
|
||||
*/
|
||||
ol.renderer.canvas.ImageLayer.prototype.getImage = function() {
|
||||
return goog.isNull(this.image_) ?
|
||||
null : this.image_.getImageElement();
|
||||
null : this.image_.getImage();
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user