Evotec

Project

PSWriteHTML

PSWriteHTML is an open-source PowerShell project with packages, release history, and working documentation.

Stars 995
Forks 114
Open issues 69
PowerShell Gallery downloads 7,436,513
Release v1.41.0
Language: PowerShell Updated: 2026-04-11

API Reference

Function

New-MapPlot

Namespace PSWriteHTML

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

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

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>]
#
Parameter set: All Parameter Sets

Parameters

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