Jaa


MapControl.MapElementPointerEntered Event

Definition

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

// Register
event_token MapElementPointerEntered(TypedEventHandler<MapControl, MapElementPointerEnteredEventArgs const&> const& handler) const;

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

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

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 MapElementPointerEnteredEventArgs provides data for this event.

Applies to