MapControl.CustomExperienceChanged MapControl.CustomExperienceChanged MapControl.CustomExperienceChanged MapControl.CustomExperienceChanged Event

Definition

Occurs when the custom experience of the MapControl changes.

public : event TypedEventHandler<MapControl, MapCustomExperienceChangedEventArgs> CustomExperienceChanged
// Register
event_token CustomExperienceChanged(TypedEventHandler<MapControl, MapCustomExperienceChangedEventArgs> const& handler) const;

// Revoke with event_token
void CustomExperienceChanged(event_token const& cookie) const;

// Revoke with event_revoker
CustomExperienceChanged_revoker CustomExperienceChanged(auto_revoke_t, TypedEventHandler<MapControl, MapCustomExperienceChangedEventArgs> const& handler) const;
public event TypedEventHandler<MapControl, MapCustomExperienceChangedEventArgs> CustomExperienceChanged
Public Event CustomExperienceChanged As TypedEventHandler (Of MapControl, MapCustomExperienceChangedEventArgs)

Remarks

Custom experiences change the way maps appear in the MapControl. For example, the StreetsideExperience changes the perspective of the map to appear as though you were viewing a location from the street level. Entering or existing a street-level view will trigger the CustomExperienceChanged event.