@2gis/mapgl
Advanced tools
Comparing version 1.19.0 to 1.19.1
{ | ||
"name": "@2gis/mapgl", | ||
"version": "1.19.0", | ||
"version": "1.19.1", | ||
"description": "MapGL API script loader with typings", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
import { LngLatBounds } from '../objects/lngLatBounds'; | ||
import { AnimationOptions } from './animations'; | ||
import { InterpolateExpression } from './styles'; | ||
import { InterpolateExpression, StyleOptions } from './styles'; | ||
import { FeatureCollection } from 'geojson'; | ||
@@ -122,2 +122,6 @@ /** | ||
/** | ||
* Map style options. Containts path to style assets - icons and fonts. | ||
*/ | ||
styleOptions?: Partial<StyleOptions>; | ||
/** | ||
* The desired map language. | ||
@@ -124,0 +128,0 @@ * short language code 'en', 'ru', ...etc |
@@ -18,8 +18,9 @@ export declare type InterpolateExpression<T extends number | string> = [ | ||
export declare type Style = any; | ||
export declare type StyleOrigin = { | ||
type: 'styleserver'; | ||
styleId: string; | ||
} | { | ||
type: 'url'; | ||
url: string; | ||
}; | ||
/** | ||
* Style options - paths to icons and fonts | ||
*/ | ||
export interface StyleOptions { | ||
stylePath?: string; | ||
iconsPath: string; | ||
fontsPath: string; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61824
38
1956