PlanetaryComputerModelFactory.RenderOptionVectorOptions Method

Definition

Defines parameters for vector tile rendering.

public static Azure.Analytics.PlanetaryComputer.RenderOptionVectorOptions RenderOptionVectorOptions(string tileJsonKey = default, string sourceLayer = default, string fillColor = default, string strokeColor = default, int? strokeWidth = default, System.Collections.Generic.IEnumerable<string> filter = default);
static member RenderOptionVectorOptions : string * string * string * string * Nullable<int> * seq<string> -> Azure.Analytics.PlanetaryComputer.RenderOptionVectorOptions
Public Shared Function RenderOptionVectorOptions (Optional tileJsonKey As String = Nothing, Optional sourceLayer As String = Nothing, Optional fillColor As String = Nothing, Optional strokeColor As String = Nothing, Optional strokeWidth As Nullable(Of Integer) = Nothing, Optional filter As IEnumerable(Of String) = Nothing) As RenderOptionVectorOptions

Parameters

tileJsonKey
String

Asset key containing the TileJSON URL.

sourceLayer
String

Name of the source layer in the vector tiles.

fillColor
String

Fill color for polygon features.

strokeColor
String

Stroke color for line features.

strokeWidth
Nullable<Int32>

Width of line strokes in pixels.

filter
IEnumerable<String>

MapBox GL filter expression to filter features.

Returns

A new RenderOptionVectorOptions instance for mocking.

Applies to