Skip to main content

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

EventDescription
markeroverTriggered when mouse is over a marker. Listeners will receive an object with an event property.
markeroutTriggered when mouse is out of a marker. Listeners will receive an object with an event property.
markerclickTriggered when mouse clicks on a marker. The event object passed to listeners will have an event property.

Hover Over The Marker

Last updated November 23, 2021.