Project

PSWriteHTML

Generate HTML reports, dashboards, and emails from PowerShell without writing HTML, CSS, or JavaScript.

Stars 1,019
Forks 115
Open issues 54
PowerShell Gallery downloads 7,576,901
Release v1.41.0
Language: PowerShell Updated: 2026-10-03
Command

New-MapPlot

Module PSWriteHTML

Creates a new MapPlot object with specified latitude, longitude, and other optional parameters.

Syntax

New-MapPlot [[-Href] <String>] [-Latitude] <Double> [-Longitude] <Double> [-Plot] <String> [[-TooltipContent] <ScriptBlock>] [-Value] <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

This function creates a new MapPlot object with the provided latitude, longitude, and other optional parameters like href, value, and tooltip content.

Examples

Authored help example

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."

Parameters

-Href String optionalposition: 3
Specifies the hyperlink reference for the plot.
-Latitude Double requiredposition: 1
Specifies the latitude coordinate for the plot.
-Longitude Double requiredposition: 2
Specifies the longitude coordinate for the plot.
-Plot String requiredposition: 0
Specifies the name of the plot.
-TooltipContent ScriptBlock optionalposition: 5aliases: Tooltip
Specifies the content of the tooltip associated with the plot.
-Value String requiredposition: 4
Specifies the value associated with the plot.

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.