Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@2gis/mapgl

Package Overview
Dependencies
Maintainers
5
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@2gis/mapgl - npm Package Compare versions

Comparing version 1.21.0 to 1.22.0

2

package.json
{
"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 @@ /**

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc