API Reference
New-MapPlot
Creates a new MapPlot object with specified latitude, longitude, and other optional parameters.
Remarks
This function creates a new MapPlot object with the provided latitude, longitude, and other optional parameters like href, value, and tooltip content.
Examples
EXAMPLE 1
New-MapPlot -Plot "Sample Plot" -Latitude 40.7128 -Longitude -74.0060 -Href "https://example.com" -Value "Sample Value" -TooltipContent { "This is a sample tooltip." }
Creates a new MapPlot object named "Sample Plot" with latitude 40.7128, longitude -74.0060, a hyperlink reference to "https://example.com", a value of "Sample Value", and a tooltip content of "This is a sample tooltip."
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-MapPlot [-Href <String>] -Latitude <Double> -Longitude <Double> -Plot <String> [-TooltipContent <ScriptBlock>] -Value <String> [<CommonParameters>]
#
All Parameter SetsParameters
- Href String
- Specifies the hyperlink reference for the plot.
- Latitude Double
- Specifies the latitude coordinate for the plot.
- Longitude Double
- Specifies the longitude coordinate for the plot.
- Plot String
- Specifies the name of the plot.
- TooltipContent ScriptBlock
- Specifies the content of the tooltip associated with the plot.
- Value String
- Specifies the value associated with the plot.