共用方式為


MapsRenderingClientOptions.AcceptMediaType Property

Definition

The Accept header field can be used to specify preferences regarding response media types. Allowed media types include image/jpeg and image/png. Return image in image/png if Accept header is not specified.

public Azure.Maps.Rendering.MediaType? AcceptMediaType { get; set; }
member this.AcceptMediaType : Nullable<Azure.Maps.Rendering.MediaType> with get, set
Public Property AcceptMediaType As Nullable(Of MediaType)

Property Value

Applies to