UNPKG

chaichai

Version:

[![NPM](https://img.shields.io/npm/v/chaichai.svg)](https://www.npmjs.com/package/chaichai) [![npm downloads](https://img.shields.io/npm/dm/chaichai.svg)](https://www.npmjs.com/package/chaichai) [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeSc

59 lines (58 loc) 1.42 kB
import { vectorType, vectorTileType } from '../../interface-type'; export declare const defaultStyle: { point: { symbol: string; radius: number; fill_color: string; fill_opacity: number; stroke_color: string; stroke_width: number; classify: boolean; clList: never[]; }; linestring: { stroke_color: string; stroke_width: number; classify: boolean; clList: never[]; }; polygon: { fill_color: string; fill_opacity: number; stroke_color: string; stroke_width: number; classify: boolean; clList: never[]; }; }; export declare const jetStreamVectorToMapboxStyle: (vector: vectorType) => { source: { id: string; data: { type: string; data: object; }; }; layers: any[]; }; export declare const vectorToMapboxStyle: (vector: vectorType) => { source: { id: string; data: { type: string; data: object; }; }; layers: any[]; }; export declare const vectorTileToMapboxStyle: (vectorTile: vectorTileType) => { source: { id: string; data: { type: string; tiles: string[]; maxzoom: number; }; }; layers: any[]; };