ImageLayer()
constructor
Inherits from BaseLayer
ImageLayer class is responsible for adding images on the map
Options:
Events:
image-load
The image was loadedimage-loading
The image is currently loadingimage-error
The 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 |