Freigeben über


MapControl.ActualCameraChanging Ereignis

Definition

Tritt auf, wenn sich die aktuelle Position der Kamera der Karte ändert.

// Register
event_token ActualCameraChanging(TypedEventHandler<MapControl, MapActualCameraChangingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
MapControl::ActualCameraChanging_revoker ActualCameraChanging(auto_revoke_t, TypedEventHandler<MapControl, MapActualCameraChangingEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapActualCameraChangingEventArgs> ActualCameraChanging;
function onActualCameraChanging(eventArgs) { /* Your code */ }
mapControl.addEventListener("actualcamerachanging", onActualCameraChanging);
mapControl.removeEventListener("actualcamerachanging", onActualCameraChanging);
- or -
mapControl.onactualcamerachanging = onActualCameraChanging;
Public Custom Event ActualCameraChanging As TypedEventHandler(Of MapControl, MapActualCameraChangingEventArgs) 

Ereignistyp

Hinweise

Während einer Animation der Karte definiert die ActualCamera die aktuelle Position der Kamera der Karte und TargetCamera die endgültige Position der Kamera.

Gilt für: