Marker Events

Since the controls used for events on features don’t work with the markers layer, there are events that the marker triggers itself as an alternative solution. These events are explained in the table below.

Supported Events

Event Description
markerover Triggered when mouse is over a marker. Listeners will receive an object with an event property.
markerout Triggered when mouse is out of a marker. Listeners will receive an object with an event property.
markerclick Triggered when mouse clicks on a marker. The event object passed to listeners will have an event property.

Hover Over The Marker

Last updated December 9, 2019.