HtmlForgeX

API Reference

Command

New-HtmlXMapboxMarker

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.MapboxMap

Adds a marker to the current Mapbox map.

Remarks

Use inside New-HtmlXMapboxMap { }.

Examples

Imported script example

New-HtmlXMapboxMarker -Latitude 40.7128 -Longitude -74.0060 -Color "#0d6efd"
        

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-HtmlXMapboxMarker [-Color <string>] [-Latitude <double>] [-Longitude <double>] [<CommonParameters>]
#

Parameters

Color string optionalposition: namedpipeline: false
Optional marker color.
Latitude double optionalposition: namedpipeline: false
Marker latitude.
Longitude double optionalposition: namedpipeline: false
Marker longitude.

Outputs

HtmlForgeX.MapboxMap