File

src/app/modules/dashboard/interfaces/map.ts

Index

Properties

Properties

district
district: string
Type : string
Optional
drillDown
drillDown: boolean
Type : boolean
dt_code
dt_code: string | number
Type : string | number
Optional
fitBounds
fitBounds: boolean
Type : boolean
name
name: string
Type : string
st_code
st_code: string | number
Type : string | number
Optional
st_nm
st_nm: string
Type : string
Optional
export interface IGeoJSON {
    type: string;
    features: Feature[];
}

export interface Feature {
    type: FeatureType;
    geometry: Geometry;
    properties: Properties;
}

export interface Geometry {
    type: GeometryType;
    coordinates: Array<Array<number[]>>;
}

export enum GeometryType {
    Polygon = 'Polygon',
}

export interface Properties {
    [key: string]: any;
}

export enum FeatureType {
    Feature = 'Feature',
}

export interface ICustomMapObj {
    drillDown: boolean;
    name: string;
    fitBounds: boolean;
    district?: string;
    st_nm?: string;
    dt_code?: string | number;
    st_code?: string | number;
}


export interface IInputMapData {
    state: string;
    districts?: string[];
    metrics?: string[];
    folder?: string;
    labelExpr?: string;
    reportLoc?: string;
    reportData?: string;
    strict?: boolean;
    country?: string;
    states?: string[];
}

results matching ""

    No results matching ""