New-UDMapVectorLayer
Synopsis
Creates a map vector layer.
Syntax
New-UDMapVectorLayer [-Id <String>] [-Color <DashboardColor>] [-FillColor <DashboardColor>] [-FillOpacity <Double>] [-Weight <Int32>] [-Opacity <Double>] -Circle -Latitude <Double> -Longitude <Double> -Radius <Int32> [-Popup <Object>] [<CommonParameters>]
New-UDMapVectorLayer [-Id <String>] [-Color <DashboardColor>] [-FillColor <DashboardColor>] [-FillOpacity <Double>] [-Weight <Int32>] [-Opacity <Double>] -Polyline -Positions <Object> [<CommonParameters>]
New-UDMapVectorLayer [-Id <String>] [-Color <DashboardColor>] [-FillColor <DashboardColor>] [-FillOpacity <Double>] [-Weight <Int32>] [-Opacity <Double>] -Polygon -Positions <Object> [<CommonParameters>]
New-UDMapVectorLayer [-Id <String>] [-Color <DashboardColor>] [-FillColor <DashboardColor>] [-FillOpacity <Double>] [-Weight <Int32>] [-Opacity <Double>] -Rectangle -LatitudeTopLeft <Double> -LongitudeTopLeft <Double> -LatitudeBottomRight <Double> -LongitudeBottomRight <Double> [<CommonParameters>]
New-UDMapVectorLayer [-Id <String>] [-Color <DashboardColor>] [-FillColor <DashboardColor>] [-FillOpacity <Double>] [-Weight <Int32>] [-Opacity <Double>] -GeoJSON <String> [<CommonParameters>]Description
Creates a map vector layer.
Parameters
-Id
The id of the map vector layer. This defaults to a new GUID.
-Color
The color of the vector layer.
-FillColor
The fill color of the vector layer.
-FillOpacity
The fill opacity of the vector layer.
-Weight
The weight of the vector layer.
-Opacity
The opacity of the vector layer.
-Circle
Creates a circle.
-Latitude
The latitude of the circle.
-Longitude
The longitude of the circle.
-Radius
The radius of the circle.
-Polyline
Creates a polyline.
-Polygon
Creates a polygon.
-Positions
The positions of the polyline or polygon.
-Rectangle
Creates a rectangle.
-LatitudeTopLeft
The latitude of the top left corner of the rectangle.
-LongitudeTopLeft
The longitude of the top left corner of the rectangle.
-LatitudeBottomRight
The latitude of the bottom right corner of the rectangle.
-LongitudeBottomRight
The longitude of the bottom right corner of the rectangle.
-Popup
The popup of the vector layer. Use New-UDMapPopup to create a popup.
-GeoJSON
The GeoJSON of the vector layer. This is an alternative to specifying the longitude and latitude.
Common parameters
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.
Last updated
Was this helpful?