HtmlForgeX

API Reference

Class

JsVectorMapOptions

Namespace HtmlForgeX
Assembly HtmlForgeX

Strongly-typed options for jsVectorMap initialization. Only commonly used options are exposed; advanced toggles can be added as needed.

Inheritance

  • Object
  • JsVectorMapOptions

Constructors

Properties

public String Selector { get; set; } #
JsonPropertyName("selector") JsonIgnore(Condition = 3)

CSS selector for the map container (auto-filled by component).

public String Map { get; set; } #
JsonPropertyName("map")

The map name (e.g., "world_merc").

public String BackgroundColor { get; set; } #
JsonPropertyName("backgroundColor") JsonIgnore(Condition = 3)

Background color of the map.

public Nullable<Boolean> ZoomOnScroll { get; set; } #
JsonPropertyName("zoomOnScroll") JsonIgnore(Condition = 3)

Enables zoom on mouse wheel.

public Nullable<Double> ZoomOnScrollSpeed { get; set; } #
JsonPropertyName("zoomOnScrollSpeed") JsonIgnore(Condition = 3)

Zoom-on-scroll speed (higher = faster).

public Nullable<Boolean> ZoomButtons { get; set; } #
JsonPropertyName("zoomButtons") JsonIgnore(Condition = 3)

Shows zoom buttons.

public Nullable<Double> ZoomStep { get; set; } #
JsonPropertyName("zoomStep") JsonIgnore(Condition = 3)

Zoom step used by zoom buttons.

public Nullable<Double> ZoomMax { get; set; } #
JsonPropertyName("zoomMax") JsonIgnore(Condition = 3)

Maximum zoom level.

public Nullable<Double> ZoomMin { get; set; } #
JsonPropertyName("zoomMin") JsonIgnore(Condition = 3)

Minimum zoom level.

public Nullable<Boolean> ZoomAnimate { get; set; } #
JsonPropertyName("zoomAnimate") JsonIgnore(Condition = 3)

Enable/disable animated zoom.

public Nullable<Boolean> Draggable { get; set; } #
JsonPropertyName("draggable") JsonIgnore(Condition = 3)

Enables drag panning.

public Nullable<Boolean> BindTouchEvents { get; set; } #
JsonPropertyName("bindTouchEvents") JsonIgnore(Condition = 3)

Enable/disable touch interactions.

public JsVectorRegionStyle RegionStyle { get; set; } #
JsonPropertyName("regionStyle") JsonIgnore(Condition = 3)

Region styling options.

public JsVectorMarkerStyle MarkerStyle { get; set; } #
JsonPropertyName("markerStyle") JsonIgnore(Condition = 3)

Marker styling options.

public JsVectorMarkerLabelStyle MarkerLabelStyle { get; set; } #
JsonPropertyName("markerLabelStyle") JsonIgnore(Condition = 3)

Marker label styling.

public JsVectorRegionLabelStyle RegionLabelStyle { get; set; } #
JsonPropertyName("regionLabelStyle") JsonIgnore(Condition = 3)

Region label styling.

public List<JsVectorMarker> Markers { get; set; } #
JsonPropertyName("markers") JsonIgnore(Condition = 3)

Markers to display.

public JsVectorSeries Series { get; set; } #
JsonPropertyName("series") JsonIgnore(Condition = 3)

Series configuration (regions, etc.).

public JsVectorLabels Labels { get; set; } #
JsonPropertyName("labels") JsonIgnore(Condition = 3)

Optional label configuration.

public List<JsVectorLine> Lines { get; set; } #
JsonPropertyName("lines") JsonIgnore(Condition = 3)

Optional line connections between named markers.

public JsVectorLineStyle LineStyle { get; set; } #
JsonPropertyName("lineStyle") JsonIgnore(Condition = 3)

Line style.

public Nullable<Boolean> ShowTooltip { get; set; } #
JsonPropertyName("showTooltip") JsonIgnore(Condition = 3)

Enables/disables tooltips.

public Nullable<Boolean> RegionsSelectable { get; set; } #
JsonPropertyName("regionsSelectable") JsonIgnore(Condition = 3)

Enable region selection on click.

public Nullable<Boolean> RegionsSelectableOne { get; set; } #
JsonPropertyName("regionsSelectableOne") JsonIgnore(Condition = 3)

Restrict region selection to a single region.

public Nullable<Boolean> MarkersSelectable { get; set; } #
JsonPropertyName("markersSelectable") JsonIgnore(Condition = 3)

Enable marker selection on click.

public Nullable<Boolean> MarkersSelectableOne { get; set; } #
JsonPropertyName("markersSelectableOne") JsonIgnore(Condition = 3)

Restrict marker selection to a single marker.

public String[] SelectedRegions { get; set; } #
JsonPropertyName("selectedRegions") JsonIgnore(Condition = 3)

Initial selected regions (ISO codes).

public Int32[] SelectedMarkers { get; set; } #
JsonPropertyName("selectedMarkers") JsonIgnore(Condition = 3)

Initial selected markers (marker indices).

public JsVectorFocusOn FocusOn { get; set; } #
JsonPropertyName("focusOn") JsonIgnore(Condition = 3)

Initial focus/zoom configuration.