HtmlForgeX

API Reference

Class

JsVectorMapCountryMarkersExtensions

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers static

Helpers for plotting country-level markers on JsVectorMap.

Inheritance

  • Object
  • JsVectorMapCountryMarkersExtensions

Methods

public static JsVectorMap AddCountryMarkers(JsVectorMap map, IDictionary<String, Double> values, Int32 maxMarkers = 35, Double minRadius = 4, Double maxRadius = 14, Nullable<TablerColor> color = null) #
Returns: JsVectorMap

Adds country markers using ISO2 keys and numeric values (e.g., user counts). Markers are sized proportionally to the maximum value and use a single accent color by default.

Parameters

map HtmlForgeX.JsVectorMap requiredposition: 0
Target map.
values System.Collections.Generic.IDictionary{System.String,System.Double} requiredposition: 1
ISO2 -> value map.
maxMarkers System.Int32 = 35 optionalposition: 2
Maximum number of markers to render (top values).
minRadius System.Double = 4 optionalposition: 3
Minimum marker radius.
maxRadius System.Double = 14 optionalposition: 4
Maximum marker radius.
color System.Nullable{HtmlForgeX.TablerColor} = null optionalposition: 5
Marker fill color.