LocalMapTileDataSource.UriRequested Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the tile is requested for an LocalMapTileDataSource. An instance of MapTileUriRequestedEventArgs provides data for this event.
// 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)
Event Type
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for