ImageLayer()
constructor
Inherits from BaseLayer
ImageLayer class is responsible for adding images on the map
Options:
Events:
image-loadThe image was loadedimage-loadingThe image is currently loadingimage-errorThe image couldn't be loaded
| Parameter | Type | Description |
|---|---|---|
| url | String | The URL to the image |
| bounds | LatLngBounds | The bounds on which the image will be displayed |
| options | Object | The ImageLayer's options |