API Reference
JsVectorMapSettings
Settings sub‑builder for JsVectorMap to keep IntelliSense tidy. Wraps less-common toggles while delegating to root methods.
Inheritance
- Object
- JsVectorMapSettings
Methods
public JsVectorMapSettings Background(RGBColor color) #JsVectorMapSettingsSets background color for the map using a CSS string.
Parameters
- color System.String
Background(HtmlForgeX.TablerColor color) #Sets background color for the map using a Tabler color.
Parameters
- color HtmlForgeX.TablerColor
Background(HtmlForgeX.RGBColor color) #Sets background color for the map using an RGB color.
Parameters
- color HtmlForgeX.RGBColor
public JsVectorMapSettings Draggable(Boolean enable = true) #JsVectorMapSettingsEnables drag panning.
Parameters
- enable System.Boolean = true
public JsVectorMapSettings FocusOn(Double latitude, Double longitude, Double scale = 2, Boolean animate = true) #JsVectorMapSettingsFocuses the map on a coordinate at a given zoom scale.
Parameters
- latitude System.Double
- longitude System.Double
- scale System.Double = 2
- animate System.Boolean = true
public JsVectorMapSettings FocusOnRegion(String isoCode, Boolean animate = true) #JsVectorMapSettingsFocuses the map on a single region (ISO code).
Parameters
- isoCode System.String
- animate System.Boolean = true
public JsVectorMapSettings FocusOnRegions(IEnumerable<String> isoCodes, Boolean animate = true) #JsVectorMapSettingsFocuses the map on a set of regions (ISO codes).
Parameters
- isoCodes System.Collections.Generic.IEnumerable{System.String}
- animate System.Boolean = true
public JsVectorMapSettings GeoGroup(String groupId) #JsVectorMapSettingsAssigns a selection group id for cross-component geo selection sync (Leaflet/Globe/VectorMap/DataTables). Use different values when multiple dashboards exist on the same page.
Parameters
- groupId System.String
public JsVectorMapSettings GeoSelectionTableMode(GeoSelectionTableMode mode) #JsVectorMapSettingsControls how geo selection events affect DataTables filtering across widgets in the same GeoGroup. Use SourceOnly to prevent cascaded/duplicate filtering when multiple widgets bind to the same tables.
Parameters
- mode HtmlForgeX.GeoSelectionTableMode
public JsVectorMapSettings Height(String height) #JsVectorMapSettingsSets container height (e.g., "350px").
Parameters
- height System.String
public JsVectorMapSettings Labels(Boolean markers = false, Boolean regions = false) #JsVectorMapSettingsEnables simple labels using the name for markers and/or regions.
Parameters
- markers System.Boolean = false
- regions System.Boolean = false
public JsVectorMapSettings LazyInit(Boolean enable = true) #JsVectorMapSettingsControls whether initialization is deferred until the map becomes visible.
Parameters
- enable System.Boolean = true
public JsVectorMapSettings Lines(Nullable<TablerColor> color = null, RGBColor customColor = null, Nullable<Double> width = null, Nullable<Boolean> dashed = null, Nullable<Boolean> animation = null, Nullable<Double> curvature = null) #JsVectorMapSettingsConfigures line style for connections in a single place.
Parameters
- color System.Nullable{HtmlForgeX.TablerColor} = null
- Tabler color for the stroke.
- customColor HtmlForgeX.RGBColor = null
- Custom RGB color for the stroke.
- width System.Nullable{System.Double} = null
- Stroke width in pixels.
- dashed System.Nullable{System.Boolean} = null
- Whether to use a dashed stroke pattern.
- animation System.Nullable{System.Boolean} = null
- Enable animated line drawing.
- curvature System.Nullable{System.Double} = null
- Curvature factor (0..1) for curved lines.
public JsVectorMapSettings MarkerStyle(Nullable<Double> radius = null, String fill = null, String stroke = null, Nullable<Double> strokeWidth = null, Nullable<Double> opacity = null) #JsVectorMapSettingsSets default marker styling.
Parameters
- radius System.Nullable{System.Double} = null
- fill System.String = null
- stroke System.String = null
- strokeWidth System.Nullable{System.Double} = null
- opacity System.Nullable{System.Double} = null
public JsVectorMapSettings RegionFill(RGBColor fill, RGBColor stroke = null, Nullable<Double> strokeWidth = null) #JsVectorMapSettingsConfigures base region fill/stroke styling.
Parameters
- color System.String
- stroke System.String = null
- strokeWidth System.Nullable{System.Double} = null
RegionFill(HtmlForgeX.TablerColor fill, System.Nullable{HtmlForgeX.TablerColor} stroke, System.Nullable{System.Double} strokeWidth) #Configures base region fill/stroke styling using Tabler colors.
Parameters
- fill HtmlForgeX.TablerColor
- stroke System.Nullable{HtmlForgeX.TablerColor}
- strokeWidth System.Nullable{System.Double}
RegionFill(HtmlForgeX.RGBColor fill, HtmlForgeX.RGBColor stroke, System.Nullable{System.Double} strokeWidth) #Configures base region fill/stroke styling using RGB colors.
Parameters
- fill HtmlForgeX.RGBColor
- stroke HtmlForgeX.RGBColor
- strokeWidth System.Nullable{System.Double}
public JsVectorMapSettings Regions(Action<JsVectorMapRegionSettings> configure) #JsVectorMapSettingsBuilds a region color scale automatically and assigns levels to regions (1..10) without manual dictionaries.
Parameters
- configure System.Action{HtmlForgeX.JsVectorMapRegionSettings}
public JsVectorMapSettings SelectableMarkers(Boolean enable = true, Boolean single = false) #JsVectorMapSettingsEnables selection of markers by clicking on them.
Parameters
- enable System.Boolean = true
- single System.Boolean = false
public JsVectorMapSettings SelectableRegions(Boolean enable = true, Boolean single = false) #JsVectorMapSettingsEnables selection of regions by clicking on them.
Parameters
- enable System.Boolean = true
- single System.Boolean = false
public JsVectorMapSettings SelectedMarkers(params Int32[] indices) #JsVectorMapSettingsSets initial selected markers (marker indices).
Parameters
- indices System.Int32[]
public JsVectorMapSettings SelectedRegions(params Country[] countries) #JsVectorMapSettingsSets initial selected regions (ISO codes).
Parameters
- isoCodes System.String[]
public JsVectorMapSettings Tooltips(Boolean enable = true) #JsVectorMapSettingsEnables/disables tooltips.
Parameters
- enable System.Boolean = true
public JsVectorMapSettings TouchEvents(Boolean enable = true) #JsVectorMapSettingsEnable/disable touch interactions.
Parameters
- enable System.Boolean = true
public JsVectorMapSettings ZoomAnimate(Boolean enable = true) #JsVectorMapSettingsEnable/disable animated zoom.
Parameters
- enable System.Boolean = true
public JsVectorMapSettings ZoomButtons(Boolean enable = true) #JsVectorMapSettingsShows or hides zoom buttons.
Parameters
- enable System.Boolean = true
public JsVectorMapSettings ZoomLimits(Nullable<Double> min = null, Nullable<Double> max = null) #JsVectorMapSettingsSets zoom limits.
Parameters
- min System.Nullable{System.Double} = null
- max System.Nullable{System.Double} = null
public JsVectorMapSettings ZoomOnScroll(Boolean enable = true) #JsVectorMapSettingsEnables/disables zoom on mouse wheel.
Parameters
- enable System.Boolean = true
public JsVectorMapSettings ZoomOnScrollSpeed(Double speed) #JsVectorMapSettingsZoom-on-scroll speed (higher = faster).
Parameters
- speed System.Double
public JsVectorMapSettings ZoomStep(Double step) #JsVectorMapSettingsZoom step used by zoom buttons.
Parameters
- step System.Double