interface MapboxLayers {
    below: string;
    circle: {
        radius: number;
    };
    color: Color;
    coordinates: string | number;
    fill: {
        outlinecolor: Color;
    };
    line: Partial<ShapeLine>;
    maxzoom: number;
    minzoom: number;
    name: string;
    opacity: number;
    source: string | number;
    sourceattribution: string;
    sourcelayer: string;
    sourcetype:
        | "image"
        | "geojson"
        | "vecotr"
        | "raster";
    symbol: Partial<MapboxSymbol>;
    templateitemname: string;
    type:
        | "symbol"
        | "fill"
        | "circle"
        | "line"
        | "raster";
    visible: true;
}

Properties

below: string
circle: {
    radius: number;
}
color: Color
coordinates: string | number
fill: {
    outlinecolor: Color;
}
maxzoom: number
minzoom: number
name: string
opacity: number
source: string | number
sourceattribution: string
sourcelayer: string
sourcetype:
    | "image"
    | "geojson"
    | "vecotr"
    | "raster"
templateitemname: string
type:
    | "symbol"
    | "fill"
    | "circle"
    | "line"
    | "raster"
visible