New-UDMapVectorLayer
Creates a map vector layer.
Synopsis
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
Parameters
-Id
-Color
-FillColor
-FillOpacity
-Weight
-Opacity
-Latitude
-Longitude
-Radius
-Positions The positions of the polyline or polygon.Required? truePosition? namedDefault valueAccept pipeline input? falseAliasesAccept wildcard characters? false -Rectangle [<SwitchParameter>] Creates a rectangle.Required? truePosition? namedDefault value FalseAccept pipeline input? falseAliasesAccept wildcard characters? false-LatitudeTopLeftThe latitude of the top left corner of the rectangle.Required? truePosition? namedDefault value 0Accept pipeline input? falseAliasesAccept wildcard characters? false-LongitudeTopLeftThe longitude of the top left corner of the rectangle.Required? truePosition? namedDefault value 0Accept pipeline input? falseAliasesAccept wildcard characters? false-LatitudeBottomRightThe latitude of the bottom right corner of the rectangle.Required? truePosition? namedDefault value 0Accept pipeline input? falseAliasesAccept wildcard characters? false-LongitudeBottomRightThe longitude of the bottom right corner of the rectangle.Required? truePosition? namedDefault value 0Accept pipeline input? falseAliasesAccept wildcard characters? false-Popup The popup of the vector layer. Use New-UDMapPopup to create a popup.Required? falsePosition? namedDefault valueAccept pipeline input? falseAliasesAccept wildcard characters? false-GeoJSONThe GeoJSON of the vector layer. This is an alternative to specifying the longitude and latitude.Required? truePosition? namedDefault valueAccept pipeline input? falseAliasesAccept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
Last updated
Was this helpful?