Class MapsShapeSettings
Inherited Members
Namespace: Syncfusion.EJ2.Maps
Assembly: Syncfusion.EJ2.dll
Syntax
public class MapsShapeSettings : EJTagHelper
Constructors
MapsShapeSettings()
Declaration
public MapsShapeSettings()
Properties
Autofill
Enables or disables the filling of color, based on the palette, for the shapes automatically.
Declaration
[HtmlAttributeName("autofill")]
public bool Autofill { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Border
Gets or sets the options for customizing the style properties of the border for the shapes in maps.
Declaration
[HtmlAttributeName("border")]
public MapsBorder Border { get; set; }
Property Value
Type | Description |
---|---|
MapsBorder | The default value is null |
BorderColorValuePath
Gets or sets the field name from the data source to set the color for the border of a particular shape in maps.
Declaration
[HtmlAttributeName("borderColorValuePath")]
public string BorderColorValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
BorderWidthValuePath
Gets or sets the field name from the data source to set the width for the border of a particular shape in maps.
Declaration
[HtmlAttributeName("borderWidthValuePath")]
public string BorderWidthValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
CircleRadius
Gets or sets the radius of the "Point" and "MultiPoint" geometry shapes. This property will be applicable only when the GeoJSON data has "Point" and "MultiPoint" geometry types.
Declaration
[HtmlAttributeName("circleRadius")]
public double CircleRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is null |
ColorMapping
Gets or sets the options to map the color for some set of the shapes in maps.
Declaration
[HtmlAttributeName("colorMapping")]
public List<MapsColorMapping> ColorMapping { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MapsColorMapping> | The default value is null |
ColorValuePath
Gets or sets the field name from the data source to set the color for the shapes in maps.
Declaration
[HtmlAttributeName("colorValuePath")]
public string ColorValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
MvcTemplate<System.Object> |
DashArray
Gets or sets the dash-array for the shapes in maps.
Declaration
[HtmlAttributeName("dashArray")]
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Fill
Gets or sets the color of the shapes in maps.
Declaration
[HtmlAttributeName("fill")]
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Opacity
Gets or sets the opacity for the shapes in maps.
Declaration
[HtmlAttributeName("opacity")]
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
Palette
Gets or sets a set of colors for the shapes in maps.
Declaration
[HtmlAttributeName("palette")]
public string[] Palette { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | The default value is null |
ValuePath
Gets or sets the value from the data source based on which the shape gets rendered.
Declaration
[HtmlAttributeName("valuePath")]
public string ValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |