你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GetMapStaticImageOptions 构造函数

定义

重载

GetMapStaticImageOptions(GeoBoundingBox, IList<ImagePushpinStyle>, IList<ImagePathStyle>)

使用边界框呈现静态图像选项。

GetMapStaticImageOptions(GeoPosition, Int32, Int32, IList<ImagePushpinStyle>, IList<ImagePathStyle>)

使用中心坐标以及图像的宽度和高度呈现静态图像选项。

GetMapStaticImageOptions(GeoBoundingBox, IList<ImagePushpinStyle>, IList<ImagePathStyle>)

Source:
GetMapStaticImageOptions.cs

使用边界框呈现静态图像选项。

public GetMapStaticImageOptions (Azure.Core.GeoJson.GeoBoundingBox boundingBox, System.Collections.Generic.IList<Azure.Maps.Rendering.ImagePushpinStyle> imagePushpinStyles = default, System.Collections.Generic.IList<Azure.Maps.Rendering.ImagePathStyle> imagePathStyles = default);
new Azure.Maps.Rendering.GetMapStaticImageOptions : Azure.Core.GeoJson.GeoBoundingBox * System.Collections.Generic.IList<Azure.Maps.Rendering.ImagePushpinStyle> * System.Collections.Generic.IList<Azure.Maps.Rendering.ImagePathStyle> -> Azure.Maps.Rendering.GetMapStaticImageOptions
Public Sub New (boundingBox As GeoBoundingBox, Optional imagePushpinStyles As IList(Of ImagePushpinStyle) = Nothing, Optional imagePathStyles As IList(Of ImagePathStyle) = Nothing)

参数

boundingBox
GeoBoundingBox

纬度经度坐标系中边界框) (西、南、东、北的最小坐标。

imagePushpinStyles
IList<ImagePushpinStyle>

在地图图像上添加带有样式的图钉。

imagePathStyles
IList<ImagePathStyle>

在地图图像上添加具有样式的路径。

适用于

GetMapStaticImageOptions(GeoPosition, Int32, Int32, IList<ImagePushpinStyle>, IList<ImagePathStyle>)

Source:
GetMapStaticImageOptions.cs

使用中心坐标以及图像的宽度和高度呈现静态图像选项。

public GetMapStaticImageOptions (Azure.Core.GeoJson.GeoPosition centerCoordinate, int widthInPixels, int heightInPixels, System.Collections.Generic.IList<Azure.Maps.Rendering.ImagePushpinStyle> imagePushpinStyles = default, System.Collections.Generic.IList<Azure.Maps.Rendering.ImagePathStyle> imagePathStyles = default);
new Azure.Maps.Rendering.GetMapStaticImageOptions : Azure.Core.GeoJson.GeoPosition * int * int * System.Collections.Generic.IList<Azure.Maps.Rendering.ImagePushpinStyle> * System.Collections.Generic.IList<Azure.Maps.Rendering.ImagePathStyle> -> Azure.Maps.Rendering.GetMapStaticImageOptions
Public Sub New (centerCoordinate As GeoPosition, widthInPixels As Integer, heightInPixels As Integer, Optional imagePushpinStyles As IList(Of ImagePushpinStyle) = Nothing, Optional imagePathStyles As IList(Of ImagePathStyle) = Nothing)

参数

centerCoordinate
GeoPosition

地图图像的中心坐标。

widthInPixels
Int32

地图图像的宽度(以像素为单位)。

heightInPixels
Int32

地图图像的高度(以像素为单位)。

imagePushpinStyles
IList<ImagePushpinStyle>

在地图图像上添加带有样式的图钉。

imagePathStyles
IList<ImagePathStyle>

在地图图像上添加具有样式的路径。

适用于