Jaa


MapElementsLayer.MapElementPointerEntered Event

Definition

Occurs when a pointer moves into the bounding area of a MapElement on a MapElementsLayer.

// Register
event_token MapElementPointerEntered(TypedEventHandler<MapElementsLayer, MapElementsLayerPointerEnteredEventArgs const&> const& handler) const;

// Revoke with event_token
void MapElementPointerEntered(event_token const* cookie) const;

// Revoke with event_revoker
MapElementsLayer::MapElementPointerEntered_revoker MapElementPointerEntered(auto_revoke_t, TypedEventHandler<MapElementsLayer, MapElementsLayerPointerEnteredEventArgs const&> const& handler) const;
public event TypedEventHandler<MapElementsLayer,MapElementsLayerPointerEnteredEventArgs> MapElementPointerEntered;
function onMapElementPointerEntered(eventArgs) { /* Your code */ }
mapElementsLayer.addEventListener("mapelementpointerentered", onMapElementPointerEntered);
mapElementsLayer.removeEventListener("mapelementpointerentered", onMapElementPointerEntered);
- or -
mapElementsLayer.onmapelementpointerentered = onMapElementPointerEntered;
Public Custom Event MapElementPointerEntered As TypedEventHandler(Of MapElementsLayer, MapElementsLayerPointerEnteredEventArgs) 

Event Type

Remarks

Mouse interactions are received, processed, and managed as pointers. The MapElementPointerEntered event is triggered as the user moves their mouse over an element. An instance of MapElementsLayerPointerEnteredEventArgs provides data for this event.

Applies to