VectorMapLayerBuilder Methods
Represents a VectorMap layer.Name | Description |
---|---|
BorderColor(JS) | Specifies a color for the border of the layer elements. Mirrors the client-side borderColor option. |
BorderColor(String) | Specifies a color for the border of the layer elements. Mirrors the client-side borderColor option. |
BorderWidth(JS) | Specifies the line width (for layers of a line type) or width of the layer elements border in pixels. Mirrors the client-side borderWidth option. |
BorderWidth(Double) | Specifies the line width (for layers of a line type) or width of the layer elements border in pixels. Mirrors the client-side borderWidth option. |
Color(JS) | Specifies a color for layer elements. Mirrors the client-side color option. |
Color(String) | Specifies a color for layer elements. Mirrors the client-side color option. |
ColorGroupingField(JS) | Specifies the field that provides data to be used for coloring of layer elements. Mirrors the client-side colorGroupingField option. |
ColorGroupingField(String) | Specifies the field that provides data to be used for coloring of layer elements. Mirrors the client-side colorGroupingField option. |
ColorGroups(JS) | Allows you to paint layer elements with similar attributes in the same color. Mirrors the client-side colorGroups option. |
ColorGroups(IEnumerable<Double>) | Allows you to paint layer elements with similar attributes in the same color. Mirrors the client-side colorGroups option. |
Customize(RazorBlock) | A function that customizes each layer element individually. Mirrors the client-side customize option. |
Customize(String) | A function that customizes each layer element individually. Mirrors the client-side customize option. |
DataField(JS) | Specifies the name of the attribute containing marker data. Setting this property makes sense only if the layer type is 'marker' and the elementType is 'bubble', 'pie' or 'image'. Mirrors the client-side dataField option. |
DataField(String) | Specifies the name of the attribute containing marker data. Setting this property makes sense only if the layer type is 'marker' and the elementType is 'bubble', 'pie' or 'image'. Mirrors the client-side dataField option. |
DataSource(JS) | Specifies a data source for the layer. Mirrors the client-side dataSource option. |
DataSource(IEnumerable, String[]) |
Binds a VectorMapLayer control to a collection: Array , List , or IEnumerable .
|
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) | Binds a VectorMapLayer control to data, allows you to configure data access from different sources: API controllers, Razor page handlers, OData services, arrays, and more. |
DataSource(String, String[]) | Binds a VectorMapLayer control to read-only data in JSON format. |
DataSourceOptions(Action<DataSourceOptionsBuilder>) | Provides access to methods that mirror client-side data source options. |
ElementType(VectorMapMarkerType) | Specifies the type of a marker element. Setting this property makes sense only if the layer type is 'marker'. Mirrors the client-side elementType option. |
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. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
HoveredBorderColor(JS) | Specifies a color for the border of the layer element when it is hovered over. Mirrors the client-side hoveredBorderColor option. |
HoveredBorderColor(String) | Specifies a color for the border of the layer element when it is hovered over. Mirrors the client-side hoveredBorderColor option. |
HoveredBorderWidth(JS) | Specifies the pixel-measured line width (for layers of a line type) or width for the border of the layer element when it is hovered over. Mirrors the client-side hoveredBorderWidth option. |
HoveredBorderWidth(Double) | Specifies the pixel-measured line width (for layers of a line type) or width for the border of the layer element when it is hovered over. Mirrors the client-side hoveredBorderWidth option. |
HoveredColor(JS) | Specifies a color for a layer element when it is hovered over. Mirrors the client-side hoveredColor option. |
HoveredColor(String) | Specifies a color for a layer element when it is hovered over. Mirrors the client-side hoveredColor option. |
HoverEnabled(JS) | Specifies whether or not to change the appearance of a layer element when it is hovered over. Mirrors the client-side hoverEnabled option. |
HoverEnabled(Boolean) | Specifies whether or not to change the appearance of a layer element when it is hovered over. Mirrors the client-side hoverEnabled option. |
Label(Action<VectorMapLayersLabelBuilder>) | Specifies marker label properties. Mirrors the client-side label object. |
MaxSize(JS) | Specifies the pixel-measured diameter of the marker that represents the biggest value. Setting this property makes sense only if the layer type is 'marker'. Mirrors the client-side maxSize option. |
MaxSize(Double) | Specifies the pixel-measured diameter of the marker that represents the biggest value. Setting this property makes sense only if the layer type is 'marker'. Mirrors the client-side maxSize option. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
MinSize(JS) | Specifies the pixel-measured diameter of the marker that represents the smallest value. Setting this property makes sense only if the layer type is 'marker'. Mirrors the client-side minSize option. |
MinSize(Double) | Specifies the pixel-measured diameter of the marker that represents the smallest value. Setting this property makes sense only if the layer type is 'marker'. Mirrors the client-side minSize option. |
Name(JS) | Specifies the layer name. Mirrors the client-side name option. |
Name(String) | Specifies the layer name. Mirrors the client-side name option. |
Opacity(JS) | Specifies the layer opacity (from 0 to 1). Mirrors the client-side opacity option. |
Opacity(Double) | Specifies the layer opacity (from 0 to 1). Mirrors the client-side opacity option. |
Option(String, Object) | Specifies an option by its name. |
Palette(JS) | The name of a predefined palette or a custom range of colors to be used as a palette. Mirrors the client-side palette option. |
Palette(VizPalette) | The name of a predefined palette or a custom range of colors to be used as a palette. Mirrors the client-side palette option. |
Palette(IEnumerable<String>) | The name of a predefined palette or a custom range of colors to be used as a palette. Mirrors the client-side palette option. |
PaletteIndex(JS) | |
PaletteIndex(Int32) | |
PaletteSize(JS) | Specifies the number of colors in a palette. Mirrors the client-side paletteSize option. |
PaletteSize(Double) | Specifies the number of colors in a palette. Mirrors the client-side paletteSize option. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
SelectedBorderColor(JS) | Specifies a color for the border of the layer element when it is selected. Mirrors the client-side selectedBorderColor option. |
SelectedBorderColor(String) | Specifies a color for the border of the layer element when it is selected. Mirrors the client-side selectedBorderColor option. |
SelectedBorderWidth(JS) | Specifies a pixel-measured line width (for layers of a line type) or width for the border of the layer element when it is selected. Mirrors the client-side selectedBorderWidth option. |
SelectedBorderWidth(Double) | Specifies a pixel-measured line width (for layers of a line type) or width for the border of the layer element when it is selected. Mirrors the client-side selectedBorderWidth option. |
SelectedColor(JS) | Specifies a color for the layer element when it is selected. Mirrors the client-side selectedColor option. |
SelectedColor(String) | Specifies a color for the layer element when it is selected. Mirrors the client-side selectedColor option. |
SelectionMode(SelectionMode) | Specifies whether single or multiple map elements can be selected on a vector map. Mirrors the client-side selectionMode option. |
Size(JS) | Specifies the size of markers. Setting this property makes sense only if the layer type is 'marker' and the elementType is 'dot', 'pie' or 'image'. Mirrors the client-side size option. |
Size(Double) | Specifies the size of markers. Setting this property makes sense only if the layer type is 'marker' and the elementType is 'dot', 'pie' or 'image'. Mirrors the client-side size option. |
SizeGroupingField(JS) | Specifies the field that provides data to be used for sizing bubble markers. Setting this property makes sense only if the layer type is 'marker' and the elementType is 'bubble'. Mirrors the client-side sizeGroupingField option. |
SizeGroupingField(String) | Specifies the field that provides data to be used for sizing bubble markers. Setting this property makes sense only if the layer type is 'marker' and the elementType is 'bubble'. Mirrors the client-side sizeGroupingField option. |
SizeGroups(JS) | Allows you to display bubbles with similar attributes in the same size. Setting this property makes sense only if the layer type is 'marker' and the elementType is 'bubble'. Mirrors the client-side sizeGroups option. |
SizeGroups(IEnumerable<Double>) | Allows you to display bubbles with similar attributes in the same size. Setting this property makes sense only if the layer type is 'marker' and the elementType is 'bubble'. Mirrors the client-side sizeGroups option. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
Type(VectorMapLayerType) | Specifies layer type. Mirrors the client-side type option. |
See Also