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.16.0 to 1.17.0

2

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

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

@@ -31,2 +31,7 @@ import { Map } from '../map';

/**
* Sets the clockwise rotation of the icon.
* @param angle Angle in degrees.
*/
setRotation(angle: number): this;
/**
* Sets the label of the marker. If you pass an empty label, the current one just will be deleted.

@@ -33,0 +38,0 @@ * @param labelOptions Options of a new marker label.

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

/**
* Icon clockwise rotation in the screen plane in degrees.
*/
rotation?: number;
/**
* Marker icon URL in hovered state.

@@ -277,2 +281,6 @@ */

size?: number[];
/**
* Marker icon clockwise rotation in the screen plane in degrees.
*/
rotation?: number;
}

@@ -279,0 +287,0 @@ /**

@@ -17,1 +17,8 @@ export declare type InterpolateExpression<T extends number | string> = [

export declare type Layer = any;
export declare type StyleOrigin = {
type: 'styleserver';
styleId: string;
} | {
type: 'url';
url: string;
};
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