Don't add setImage to the API

This commit is contained in:
Andreas Hocevar
2021-06-29 14:19:58 +02:00
committed by GitHub
parent f7bd8102c5
commit be6c757ff6

View File

@@ -75,7 +75,6 @@ class ImageTile extends Tile {
/**
* Sets an HTML image element for this tile (may be a Canvas or preloaded Image).
* @param {HTMLCanvasElement|HTMLImageElement} element Element.
* @api
*/
setImage(element) {
this.image_ = element;