CustomMapTileDataSource.BitmapRequested 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 bitmap is requested for a CustomMapTileDataSource. An instance of MapTileBitmapRequestedEventArgs provides data for this event.
// Register
event_token BitmapRequested(TypedEventHandler<CustomMapTileDataSource, MapTileBitmapRequestedEventArgs const&> const& handler) const;
// Revoke with event_token
void BitmapRequested(event_token const* cookie) const;
// Revoke with event_revoker
CustomMapTileDataSource::BitmapRequested_revoker BitmapRequested(auto_revoke_t, TypedEventHandler<CustomMapTileDataSource, MapTileBitmapRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<CustomMapTileDataSource,MapTileBitmapRequestedEventArgs> BitmapRequested;
function onBitmapRequested(eventArgs) { /* Your code */ }
customMapTileDataSource.addEventListener("bitmaprequested", onBitmapRequested);
customMapTileDataSource.removeEventListener("bitmaprequested", onBitmapRequested);
- or -
customMapTileDataSource.onbitmaprequested = onBitmapRequested;
Public Custom Event BitmapRequested As TypedEventHandler(Of CustomMapTileDataSource, MapTileBitmapRequestedEventArgs)
Event Type
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin