For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-UDMapMarker

Creates a map marker.

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.

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.

Last updated

Was this helpful?