Udostępnij za pośrednictwem


MapTileBitmapRequestedEventArgs Class

Definition

Provides data for the CustomMapTileDataSource.BitmapRequested event.

public ref class MapTileBitmapRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MapTileBitmapRequestedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class MapTileBitmapRequestedEventArgs final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MapTileBitmapRequestedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MapTileBitmapRequestedEventArgs
Public NotInheritable Class MapTileBitmapRequestedEventArgs
Inheritance
Object Platform::Object IInspectable MapTileBitmapRequestedEventArgs
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

For more info about using the CustomMapTileDataSource, see the PixelData property of the MapTileBitmapRequest.

Version history

Windows version SDK version Value added
1809 17763 FrameIndex

Constructors

MapTileBitmapRequestedEventArgs()

Initializes a new instance of the MapTileBitmapRequestedEventArgs class.

Properties

FrameIndex

Gets the number of frame of the requested tile.

Request

Gets the bitmap request.

X

Gets the X value of the requested tile.

Y

Gets the Y value of the requested tile.

ZoomLevel

Gets the zoom level of the requested tile.

Applies to

See also