Udostępnij za pośrednictwem


GetMapStaticImageOptions Constructors

Definition

Overloads

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

Render static image options with bounding box.

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

Render static image options with center coordinate and the width and height of the image.

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

Source:
GetMapStaticImageOptions.cs

Render static image options with bounding box.

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)

Parameters

boundingBox
GeoBoundingBox

Minimum coordinates (west, south, east, north) of bounding box in latitude longitude coordinate system.

imagePushpinStyles
IList<ImagePushpinStyle>

Add pushpins with styling on the map image.

imagePathStyles
IList<ImagePathStyle>

Add paths with styling on the map image.

Applies to

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

Source:
GetMapStaticImageOptions.cs

Render static image options with center coordinate and the width and height of the image.

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)

Parameters

centerCoordinate
GeoPosition

Center coordinate of the map image.

widthInPixels
Int32

Width in pixels of the map image.

heightInPixels
Int32

Height in pixels of the map image.

imagePushpinStyles
IList<ImagePushpinStyle>

Add pushpins with styling on the map image.

imagePathStyles
IList<ImagePathStyle>

Add paths with styling on the map image.

Applies to