MapControl.CustomExperienceChanged 事件

定义

MapControl 的自定义体验更改时发生。

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

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

// Revoke with event_revoker
MapControl::CustomExperienceChanged_revoker CustomExperienceChanged(auto_revoke_t, TypedEventHandler<MapControl, MapCustomExperienceChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapCustomExperienceChangedEventArgs> CustomExperienceChanged;
function onCustomExperienceChanged(eventArgs) { /* Your code */ }
mapControl.addEventListener("customexperiencechanged", onCustomExperienceChanged);
mapControl.removeEventListener("customexperiencechanged", onCustomExperienceChanged);
- or -
mapControl.oncustomexperiencechanged = onCustomExperienceChanged;
Public Custom Event CustomExperienceChanged As TypedEventHandler(Of MapControl, MapCustomExperienceChangedEventArgs) 

事件类型

注解

自定义体验更改地图在 MapControl 中的显示方式。 例如, StreetsideExperience 更改地图的透视,以像从街道级别查看位置一样显示。 输入或存在街道级别视图将触发 CustomExperienceChanged 事件。

适用于