Type Alias TMapynaMarkerStyleBase

TMapynaMarkerStyleBase: {
    conditions?: TMapynaMarkerStyleCondition[];
    fillColor: string;
    fontSize: number;
    fontWeight:
        | "100"
        | "200"
        | "300"
        | "400"
        | "500"
        | "600"
        | "700"
        | "800"
        | "900";
    opacity: number;
    size?: number;
    stroke: number;
    strokeColor: string;
    svg: string;
    textColor: string;
}

Type declaration

  • Optionalconditions?: TMapynaMarkerStyleCondition[]

    An array of conditions for applying the marker style based on certain criteria. Each * condition is an object and consists of the following properties:

    key (string): The key representing the data field to be evaluated.

    value (any): The value to compare against the data field.

    operator (string, optional): The comparison operator to be used Possible operators are: >, >=, =, <=, <

    '='
    
  • fillColor: string

    The color of the marker's fill. Not applicable for 'custom' type

  • fontSize: number

    The font size of the marker's text

    Note: applicable only for type price

  • fontWeight:
        | "100"
        | "200"
        | "300"
        | "400"
        | "500"
        | "600"
        | "700"
        | "800"
        | "900"

    The font weight of the marker's text

    Note: applicable only for type price

  • opacity: number

    The opacity of the marker's fill

  • Optionalsize?: number

    The size of the marker. Not applicable for custom type

  • stroke: number

    The stroke width of the marker's border. Not applicable for 'custom' type

  • strokeColor: string

    The stroke color of the marker's border. Not applicable for 'custom' type

  • svg: string

    Custom SVG. applicable for custom type only

  • textColor: string

    The color of the marker's text

    Note: applicable only for type price