UNPKG

@gooddata/react-components

Version:

GoodData.UI - A powerful JavaScript library for building analytical applications

14 lines (13 loc) 633 B
/// <reference types="mapbox-gl" /> import { IColorStrategy } from "../../visualizations/chart/colorFactory"; import { IGeoConfig, IGeoData } from "../../../interfaces/GeoChart"; export interface IGeoDataSourceProps { colorStrategy: IColorStrategy; config: IGeoConfig; geoData: IGeoData; hasClustering: boolean; } declare type IGeoDataSourceFeature = GeoJSON.Feature<GeoJSON.Point, GeoJSON.GeoJsonProperties>; export declare type IGeoDataSourceFeatures = IGeoDataSourceFeature[]; export declare const createPushpinDataSource: (dataSourceProps: IGeoDataSourceProps) => import("mapbox-gl").GeoJSONSourceRaw; export {};