SiteWatch API Help

Types of Listeners

Types of Listeners

Previous topic Next topic  

Types of Listeners

Previous topic Next topic  

Map type events:

Returns a reference to the map and browser events that may be different depending on what browser is used.

 

Map Type

Description

zoomchange(map, zoom)

Occurs when zooming of the map is changed.

Returns a reference to the map changed, and the new zoom level value.

mousedown(map, e)

Occurs when clicking and holding the mouse button down on the map.

mousemove(map, e)

Occurs when moving the mouse over the map.

mouseup(map, e)

Occurs when releasing a holding mouse button down on the map.

dblclick(map, e)

Occurs when double-clicking on the map.

mouseout(map, e)

Occurs when the mouse leaves the map.

mouseover(map, e)

Occurs when the mouse enters the map.

click(map, e)

Occurs when clicking on the map.

move(map)

Occurs when the map is panned.

movestart(map)

Occurs when the map panning starts.

moveend(map)

Occurs when the map panning ends.

touchstart(map)

Occurs when your finger enters the screen of your smartphone.

touchend(map)

Occurs when your finger leaves the screen of your smartphone.

 

Marker type events:

Returns a reference to the map where the marker is, list of markers on the map and browser events that may be different depending on what browser is used.

 

Marker Type

Description

markers_click(map, idlist, e)

Occurs when clicking on a marker on the map.

markers_dblclick(map, idlist, e)

Occurs when double-clicking on a marker on the map.

markers_mousedown(map, idlist, e)

Occurs when clicking and holding the mouse button down on a marker on the map.

markers_mousemove(map, idlist, e)

Occurs when moving the mouse over a marker on the map.

markers_mouseout(map, idlist, e)

Occurs when the mouse leaves a marker on the map.

markers_mouseover(map, idlist, e)

Occurs when the mouse enters a marker on the map.

markers_touchstart(map, idlist, e)

Occurs when your finger enters the screen of your smartphone over a marker.

markers_touchend(map, idlist, e)

Occurs when your finger leaves the screen of your smartphone from a marker.

 

DivMarker type events:

Returns a reference to the map where the divmarker is, list of divmarkers on the map and browser events that may be different depending on what browser is used.

 

DivMarker Type

Description

divmarkers_click(map, idlist, e)

Occurs when clicking on a divmarker on the map.

divmarkers_dblclick(map, idlist, e)

Occurs when double-clicking on a divmarker on the map.

divmarkers_mousedown(map, idlist, e)

Occurs when clicking and holding the mouse button down on a divmarker on the map.

divmarkers_mousemove(map, idlist, e)

Occurs when moving the mouse over a divmarker on the map.

divmarkers_mouseout(map, idlist, e)

Occurs when the mouse leaves a divmarker on the map.

divmarkers_mouseover(map, idlist, e)

Occurs when the mouse enters a divmarker on the map.

divmarkers_touchstart(map, idlist, e)

Occurs when your finger enters the screen of your smartphone over a divmarker.

divmarkers_touchend(map, idlist, e)

Occurs when your finger leaves the screen of your smartphone from a divmarker.

 

EventItem type events:

Returns a reference to the map where the eventitem is, list of eventitems on the map and browser events that may be different depending on what browser is used.

 

EventItem Type

Description

eventitems_click(map, idlist, e)

Occurs when clicking on an eventitem on the map.

eventitems_dblclick(map, idlist, e)

Occurs when double-clicking on an eventitem on the map.

eventitems_mousedown(map, idlist, e)

Occurs when clicking and holding the mouse button down on an eventitem on the map.

eventitems_mousemove(map, idlist, e)

Occurs when moving the mouse over an eventitem on the map.

eventitems_mouseout(map, idlist, e)

Occurs when the mouse leaves an eventitem on the map.

eventitems_mouseover(map, idlist, e)

Occurs when the mouse enters an eventitem on the map.

eventitems_touchstart(map, idlist, e)

Occurs when your finger enters the screen of your smartphone over an eventitem.

eventitems_touchend(map, idlist, e)

Occurs when your finger leaves the screen of your smartphone from an eventitem.