@2gis/mapgl
Advanced tools
Comparing version 1.21.0 to 1.22.0
{ | ||
"name": "@2gis/mapgl", | ||
"version": "1.21.0", | ||
"version": "1.22.0", | ||
"description": "MapGL API script loader with typings", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1,2 +0,2 @@ | ||
export declare const MAPGL_SCRIPT_URL = "https://mapgl.2gis.com/api/js"; | ||
export declare const MAPGL_SCRIPT_URL: string; | ||
export declare const MAP_DEFAULTS: { | ||
@@ -6,1 +6,2 @@ minZoom: number; | ||
}; | ||
export declare const defaultMapGLTileServer: string; |
@@ -19,5 +19,5 @@ import { Map } from './map'; | ||
export { MapOptions, MarkerOptions, MarkerIconOptions, LabelOptions, ControlOptions, ControlPosition, Padding, HtmlMarkerOptions, CircleMarkerOptions, CircleOptions, PolygonOptions, PolylineOptions, GeoJsonSourceOptions, MapSupportOptions, } from './types'; | ||
export { MapEventTable, DynamicObjectEventTable, MapEvent, MapPointerEvent, EventTarget, } from './types/events'; | ||
export { MapEventTable, DynamicObjectEventTable, DynamicObjectPointerEvent, MapEvent, MapPointerEvent, EventTarget, } from './types/events'; | ||
export { isSupported, notSupportedReason } from './isSuported'; | ||
import './callback'; | ||
import './plugins'; |
@@ -132,2 +132,11 @@ import { LngLatBounds } from '../objects/lngLatBounds'; | ||
lang?: string; | ||
/** | ||
* Enables map to download additional plugin for RTL-text rendering. Values are: | ||
* - 'always-on' - plugin will be downloaded at map initialization. | ||
* - 'always-off - plugin will not be downloaded. | ||
* - 'depends-on-language' - plugin will be downloaded only if "ar" language is selected. | ||
* | ||
* Default value is 'depends-on-language'. | ||
*/ | ||
useRtlTextPlugin?: 'always-on' | 'always-off' | 'depends-on-language'; | ||
} | ||
@@ -134,0 +143,0 @@ /** |
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
66183
2142