LocalMapTileDataSource.UriRequested 事件

定义

LocalMapTileDataSource 请求磁贴时发生。 MapTileUriRequestedEventArgs 的实例提供此事件的数据。

// Register
event_token UriRequested(TypedEventHandler<LocalMapTileDataSource, MapTileUriRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
LocalMapTileDataSource::UriRequested_revoker UriRequested(auto_revoke_t, TypedEventHandler<LocalMapTileDataSource, MapTileUriRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<LocalMapTileDataSource,MapTileUriRequestedEventArgs> UriRequested;
function onUriRequested(eventArgs) { /* Your code */ }
localMapTileDataSource.addEventListener("urirequested", onUriRequested);
localMapTileDataSource.removeEventListener("urirequested", onUriRequested);
- or -
localMapTileDataSource.onurirequested = onUriRequested;
Public Custom Event UriRequested As TypedEventHandler(Of LocalMapTileDataSource, MapTileUriRequestedEventArgs) 

事件类型

适用于

另请参阅