interface LayerArgs<
    D extends DefaultLayerClientConfig,
    S extends DefaultLayerSourceConfig,
> {
    clientConfig?: D;
    created?: string | Date;
    features?: FeatureCollection<Geometry, GeoJsonProperties>;
    id?: number;
    modified?: string | Date;
    name: string;
    sourceConfig: S;
    type: LayerType;
}

Type Parameters

Hierarchy (View Summary)

Properties

clientConfig?: D
created?: string | Date
features?: FeatureCollection<Geometry, GeoJsonProperties>
id?: number
modified?: string | Date
name: string
sourceConfig: S
type: LayerType