New-UDMapMarker
Synopsis
Creates a map marker.
Syntax
New-UDMapMarker [-Id <String>] -Longitude <Single> -Latitude <Single> [-Attribution <String>] [-Opacity <Int32>] [-ZIndex <Int32>] [-Popup <Hashtable>] [-Icon <Hashtable>] [<CommonParameters>]
New-UDMapMarker [-Id <String>] [-Attribution <String>] [-Opacity <Int32>] [-ZIndex <Int32>] [-Popup <Hashtable>] [-Icon <Hashtable>] -GeoJSON <String> [<CommonParameters>]Description
Creates a map marker.
Parameters
-Id
The id of the map marker. This defaults to a new GUID.
Required? false
Position? named
Default value ([Guid]::NewGuid())
Accept pipeline input? false
Aliases
Accept wildcard characters? false-Longitude
The longitude of the map marker.
-Latitude
The latitude of the map marker.
-Attribution
The attribution of the map marker.
-Opacity
The opacity of the map marker.
-ZIndex
The z-index of the map marker.
-Popup
The popup of the map marker. Use New-UDMapPopup to create a popup.
-Icon
The icon of the map marker. Use New-UDMapIcon to create an icon.
-GeoJSON
The GeoJSON of the map marker. 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?