Skip to main content

VectorMapBuilder Methods

A VectorMap control.
Name Description
Annotations(Action<CollectionFactory<VectorMapAnnotationConfigBuilder>>) Specifies the annotation collection. Mirrors the client-side annotations object.
Background(Action<VectorMapBackgroundBuilder>) Specifies the properties for the map background. Mirrors the client-side background object.
Bounds(JS) Specifies the positioning of a map in geographical coordinates. Mirrors the client-side bounds option.
Bounds(IEnumerable<Double>) Specifies the positioning of a map in geographical coordinates. Mirrors the client-side bounds option.
Center(JS) Specifies the geographical coordinates of the center for a map. Mirrors the client-side center option.
Center(IEnumerable<Double>) Specifies the geographical coordinates of the center for a map. Mirrors the client-side center option.
CommonAnnotationSettings(Action<VectorMapCommonAnnotationConfigBuilder>) Specifies settings common for all annotations in the VectorMap. Mirrors the client-side commonAnnotationSettings object.
ControlBar(Action<VectorMapControlBarBuilder>) Configures the control bar. Mirrors the client-side controlBar object.
CustomizeAnnotation(RazorBlock) Mirrors the client-side customizeAnnotation object.
CustomizeAnnotation(String) Mirrors the client-side customizeAnnotation object.
Disabled(JS) Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option.
Disabled(Boolean) Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option.
ElementAttr(JS) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Dictionary<String, Object>) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(String, Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Export(Action<VectorMapExportBuilder>) Configures the exporting and printing features. Mirrors the client-side export object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
ID(JS) Specifies the id attribute for the control’s HTML element (used for nested controls within templates).
ID(String) Specifies the id attribute for the control’s HTML element.
Layers(Action<CollectionFactory<VectorMapLayerBuilder>>) Provides access to the client-side layers option that represents a VectorMap layer collection.
Legends(Action<CollectionFactory<VectorMapLegendBuilder>>) Provides access to the client-side legends option that represents a VectorMap legend collection.
LoadingIndicator(Action<VectorMapLoadingIndicatorBuilder>) Configures the loading indicator. Mirrors the client-side loadingIndicator object.
MaxZoomFactor(JS) Specifies a map's maximum zoom factor. Mirrors the client-side maxZoomFactor option.
MaxZoomFactor(Double) Specifies a map's maximum zoom factor. Mirrors the client-side maxZoomFactor option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnCenterChanged(RazorBlock) A function that is executed each time the center coordinates are changed. Mirrors the client-side onCenterChanged option.
OnCenterChanged(String) A function that is executed each time the center coordinates are changed. Mirrors the client-side onCenterChanged option.
OnClick(RazorBlock) A function that is executed when any location on the map is clicked or tapped. Mirrors the client-side onClick option.
OnClick(String) A function that is executed when any location on the map is clicked or tapped. Mirrors the client-side onClick option.
OnDisposing(RazorBlock) A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option.
OnDisposing(String) A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option.
OnDrawn(RazorBlock) A function that is executed when the UI component's rendering has finished. Mirrors the client-side onDrawn option.
OnDrawn(String) A function that is executed when the UI component's rendering has finished. Mirrors the client-side onDrawn option.
OnExported(RazorBlock) A function that is executed after the UI component is exported. Mirrors the client-side onExported option.
OnExported(String) A function that is executed after the UI component is exported. Mirrors the client-side onExported option.
OnExporting(RazorBlock) A function that is executed before the UI component is exported. Mirrors the client-side onExporting option.
OnExporting(String) A function that is executed before the UI component is exported. Mirrors the client-side onExporting option.
OnFileSaving(RazorBlock) A function that is executed before a file with exported UI component is saved to the user's local storage. Mirrors the client-side onFileSaving option.
OnFileSaving(String) A function that is executed before a file with exported UI component is saved to the user's local storage. Mirrors the client-side onFileSaving option.
OnIncidentOccurred(RazorBlock) A function that is executed when an error or warning occurs. Mirrors the client-side onIncidentOccurred option.
OnIncidentOccurred(String) A function that is executed when an error or warning occurs. Mirrors the client-side onIncidentOccurred option.
OnInitialized(RazorBlock) A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option.
OnInitialized(String) A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option.
OnOptionChanged(RazorBlock) A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option.
OnOptionChanged(String) A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option.
OnSelectionChanged(RazorBlock) A function that is executed when a layer element is selected or selection is canceled. Mirrors the client-side onSelectionChanged option.
OnSelectionChanged(String) A function that is executed when a layer element is selected or selection is canceled. Mirrors the client-side onSelectionChanged option.
OnTooltipHidden(RazorBlock) A function that is executed when a tooltip becomes hidden. Mirrors the client-side onTooltipHidden option.
OnTooltipHidden(String) A function that is executed when a tooltip becomes hidden. Mirrors the client-side onTooltipHidden option.
OnTooltipShown(RazorBlock) A function that is executed when a tooltip appears. Mirrors the client-side onTooltipShown option.
OnTooltipShown(String) A function that is executed when a tooltip appears. Mirrors the client-side onTooltipShown option.
OnZoomFactorChanged(RazorBlock) A function that is executed each time the zoom factor is changed. Mirrors the client-side onZoomFactorChanged option.
OnZoomFactorChanged(String) A function that is executed each time the zoom factor is changed. Mirrors the client-side onZoomFactorChanged option.
Option(String, Object) Specifies an option by its name.
PanningEnabled(JS) Disables the panning capability. Mirrors the client-side panningEnabled option.
PanningEnabled(Boolean) Disables the panning capability. Mirrors the client-side panningEnabled option.
PathModified(JS) Notifies the UI component that it is embedded into an HTML page that uses a tag modifying the path. Mirrors the client-side pathModified option.
PathModified(Boolean) Notifies the UI component that it is embedded into an HTML page that uses a tag modifying the path. Mirrors the client-side pathModified option.
Projection(JS) Specifies the map projection. Mirrors the client-side projection option.
Projection(VectorMapProjection) Specifies the map projection. Mirrors the client-side projection option.
Projection(Action<VectorMapProjectionConfigBuilder>) Specifies the map projection. Mirrors the client-side projection object.
Projection(String) Specifies the map projection. Mirrors the client-side projection option.
RedrawOnResize(JS) Specifies whether to redraw the UI component when the size of the container changes or a mobile device rotates. Mirrors the client-side redrawOnResize option.
RedrawOnResize(Boolean) Specifies whether to redraw the UI component when the size of the container changes or a mobile device rotates. Mirrors the client-side redrawOnResize option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Render() Inherited from WidgetBuilder.
RtlEnabled(JS) Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option.
RtlEnabled(Boolean) Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option.
Size(Action<VectorMapSizeBuilder>) Mirrors the client-side size object.
Theme(VizTheme) Sets the name of the theme the UI component uses. Mirrors the client-side theme option.
Title(JS) Configures the UI component's title. Mirrors the client-side title option.
Title(Action<VectorMapTitleBuilder>) Configures the UI component's title. Mirrors the client-side title object.
Title(String) Configures the UI component's title. Mirrors the client-side title option.
Tooltip(Action<VectorMapTooltipBuilder>) Configures tooltips. Mirrors the client-side tooltip object.
ToString() Inherited from WidgetBuilder.
ToTemplate() Renders the control as a template string for use in another control’s template. Inherited from WidgetBuilder.
TouchEnabled(JS) Specifies whether the map should respond to touch gestures. Mirrors the client-side touchEnabled option.
TouchEnabled(Boolean) Specifies whether the map should respond to touch gestures. Mirrors the client-side touchEnabled option.
WheelEnabled(JS) Specifies whether or not the map should respond when a user rolls the mouse wheel. Mirrors the client-side wheelEnabled option.
WheelEnabled(Boolean) Specifies whether or not the map should respond when a user rolls the mouse wheel. Mirrors the client-side wheelEnabled option.
ZoomFactor(JS) Specifies a number that is used to zoom a map initially. Mirrors the client-side zoomFactor option.
ZoomFactor(Double) Specifies a number that is used to zoom a map initially. Mirrors the client-side zoomFactor option.
ZoomingEnabled(JS) Disables the zooming capability. Mirrors the client-side zoomingEnabled option.
ZoomingEnabled(Boolean) Disables the zooming capability. Mirrors the client-side zoomingEnabled option.
See Also