• Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
Class MapsShapeSettings - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MapsShapeSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    MapsShapeSettings
    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
    public bool Autofill { get; set; }
    Property Value
    TypeDescription
    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
    public MapsBorder Border { get; set; }
    Property Value
    TypeDescription
    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
    public string BorderColorValuePath { get; set; }
    Property Value
    TypeDescription
    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
    public string BorderWidthValuePath { get; set; }
    Property Value
    TypeDescription
    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
    public double CircleRadius { get; set; }
    Property Value
    TypeDescription
    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
    public List<MapsColorMapping> ColorMapping { get; set; }
    Property Value
    TypeDescription
    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
    public string ColorValuePath { get; set; }
    Property Value
    TypeDescription
    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
    Syncfusion.EJ2.MvcTemplate<System.Object>

    DashArray

    Gets or sets the dash-array for the shapes in maps.

    Declaration
    public string DashArray { get; set; }
    Property Value
    TypeDescription
    System.String

    The default value is null

    Fill

    Gets or sets the color of the shapes in maps.

    Declaration
    public string Fill { get; set; }
    Property Value
    TypeDescription
    System.String

    The default value is null

    Opacity

    Gets or sets the opacity for the shapes in maps.

    Declaration
    public double Opacity { get; set; }
    Property Value
    TypeDescription
    System.Double

    The default value is 1

    Palette

    Gets or sets a set of colors for the shapes in maps.

    Declaration
    public string[] Palette { get; set; }
    Property Value
    TypeDescription
    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
    public string ValuePath { get; set; }
    Property Value
    TypeDescription
    System.String

    The default value is null

      Back to top Generated by DocFX
      Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved