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

@@ -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();
};