@2gis/mapgl-terra-draw
Version:
TerraDraw adapter for MapGL JS API
12 lines (11 loc) • 338 B
TypeScript
export interface Style {
fillColor: string;
outlineColor: string;
outlineWidth: number;
pointCap: 'none' | 'round' | 'square';
}
export declare const defaultStyle: Style;
/**
* Converts a hex color to transparent version by adding alpha
*/
export declare function makeTransparent(color: string, alpha?: string): string;