Share via


MapElementsLayer.MapElementPointerExited Event

Definition

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

// Register
event_token MapElementPointerExited(TypedEventHandler<MapElementsLayer, MapElementsLayerPointerExitedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
MapElementsLayer::MapElementPointerExited_revoker MapElementPointerExited(auto_revoke_t, TypedEventHandler<MapElementsLayer, MapElementsLayerPointerExitedEventArgs const&> const& handler) const;
public event TypedEventHandler<MapElementsLayer,MapElementsLayerPointerExitedEventArgs> MapElementPointerExited;
function onMapElementPointerExited(eventArgs) { /* Your code */ }
mapElementsLayer.addEventListener("mapelementpointerexited", onMapElementPointerExited);
mapElementsLayer.removeEventListener("mapelementpointerexited", onMapElementPointerExited);
- or -
mapElementsLayer.onmapelementpointerexited = onMapElementPointerExited;
Public Custom Event MapElementPointerExited As TypedEventHandler(Of MapElementsLayer, MapElementsLayerPointerExitedEventArgs) 

Event Type

Remarks

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

Applies to