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

@2gis/mapgl

Package Overview
Dependencies
Maintainers
8
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.40.0 to 1.41.0

2

package.json
{
"name": "@2gis/mapgl",
"version": "1.40.0",
"version": "1.41.0",
"description": "MapGL API script loader with typings",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -13,3 +13,2 @@ import { Map } from '../map';

userData: any;
private options;
/**

@@ -16,0 +15,0 @@ * Example:

@@ -13,3 +13,2 @@ import { Map } from '../map';

userData: any;
private options;
/**

@@ -16,0 +15,0 @@ * Example:

@@ -8,3 +8,2 @@ import { LngLatBounds } from './lngLatBounds';

export declare class Raster {
private options;
/**

@@ -11,0 +10,0 @@ * Example:

@@ -161,2 +161,6 @@ import { LngLatBounds } from '../objects/lngLatBounds';

/**
* Disables fullscreen AntiAliasing when map is idle.
*/
disableAntiAliasing?: boolean;
/**
* Sets the map WebGL version. It can be helpful if you use CustomLayer with other WebGL libraries.

@@ -465,5 +469,11 @@ */

/**
* Settings for drawing an object
* on the surface of another map object
*/
export interface TierOption {
}
/**
* Polygon initialization options.
*/
export interface PolygonOptions {
export interface PolygonOptions extends TierOption {
/**

@@ -519,3 +529,3 @@ * Geographical coordinates of polygon points in format: `[outerEdges, cropEdges1, cropEdges2, ...]`.

*/
export interface PolylineOptions {
export interface PolylineOptions extends TierOption {
/**

@@ -612,3 +622,3 @@ * An array of polyline coordinates: `[firstPoint, secondPoint, ...]`.

*/
export interface CircleOptions {
export interface CircleOptions extends TierOption {
/**

@@ -857,4 +867,5 @@ * Geographical coordinates of the circle center: `[longitude, latitude]`.

* @param zoom
* @param bbox Tile bounds in EPSG:3857 (Web Mercator) coordinates.
*/
url: (x: number, y: number, zoom: number) => string;
url: (x: number, y: number, zoom: number, bbox?: LngLatBounds) => string;
/**

@@ -889,3 +900,3 @@ * The minimum zoom value for which source data exists.

*/
export interface RasterOptions {
export interface RasterOptions extends TierOption {
/**

@@ -892,0 +903,0 @@ * Raster geographical bounds in which an image will be displayed.

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