Add missing method documentation for ImageOverlay (#5158)
This commit is contained in:
parent
1f4c1b9c0f
commit
107859379e
@ -115,6 +115,8 @@ L.ImageOverlay = L.Layer.extend({
|
||||
return this;
|
||||
},
|
||||
|
||||
// @method setBounds(bounds: LatLngBounds): this
|
||||
// Update the bounds that this ImageOverlay covers
|
||||
setBounds: function (bounds) {
|
||||
this._bounds = bounds;
|
||||
|
||||
@ -137,10 +139,14 @@ L.ImageOverlay = L.Layer.extend({
|
||||
return events;
|
||||
},
|
||||
|
||||
// @method getBounds(): LatLngBounds
|
||||
// Get the bounds that this ImageOverlay covers
|
||||
getBounds: function () {
|
||||
return this._bounds;
|
||||
},
|
||||
|
||||
// @method getElement(): HTMLElement
|
||||
// Get the img element that represents the ImageOverlay on the map
|
||||
getElement: function () {
|
||||
return this._image;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user