VIAMICHELIN JAVASCRIPT API


GroundImage

GroundImage is responsible for graphic object of rectangular image type. Launched via new and extends Layer.

Constructor

PropertyTypeDescriptionDefault
bounds {sw:GeoPoint, ne:GeoPoint} Geographical bounds as south-west and north-east corners of the area to render the image into. N/A
url string Image URL. N/A

 

Events

EventsArgumentsDescription
onClick GeoPoint Fired when a mouse click takes place on the image.
onMouseover - Fired when mouse hovers the image.
onMouseout - Fired when mouse is no longer over the image.

Back to top