MapElementsLayer.MapContextRequested 이벤트

정의

사용자가 마우스 오른쪽 단추 클릭과 같은 지도 계층에서 컨텍스트 입력 제스처를 완료할 때 발생합니다.

// Register
event_token MapContextRequested(TypedEventHandler<MapElementsLayer, MapElementsLayerContextRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
MapElementsLayer::MapContextRequested_revoker MapContextRequested(auto_revoke_t, TypedEventHandler<MapElementsLayer, MapElementsLayerContextRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<MapElementsLayer,MapElementsLayerContextRequestedEventArgs> MapContextRequested;
function onMapContextRequested(eventArgs) { /* Your code */ }
mapElementsLayer.addEventListener("mapcontextrequested", onMapContextRequested);
mapElementsLayer.removeEventListener("mapcontextrequested", onMapContextRequested);
- or -
mapElementsLayer.onmapcontextrequested = onMapContextRequested;
Public Custom Event MapContextRequested As TypedEventHandler(Of MapElementsLayer, MapElementsLayerContextRequestedEventArgs) 

이벤트 유형

적용 대상