API Reference
Class
JsVectorMapCountryMarkersExtensions
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:
JsVectorMapAdds 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
- Target map.
- values System.Collections.Generic.IDictionary{System.String,System.Double}
- ISO2 -> value map.
- maxMarkers System.Int32 = 35
- Maximum number of markers to render (top values).
- minRadius System.Double = 4
- Minimum marker radius.
- maxRadius System.Double = 14
- Maximum marker radius.
- color System.Nullable{HtmlForgeX.TablerColor} = null
- Marker fill color.