@2gis/mapgl
Advanced tools
Comparing version 1.3.3 to 1.4.0
{ | ||
"name": "@2gis/mapgl", | ||
"version": "1.3.3", | ||
"version": "1.4.0", | ||
"description": "MapGL API script loader with typings", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -46,2 +46,8 @@ import { MapOptions, LngLatBounds } from './types'; | ||
/** | ||
* Sets the map style zoom. | ||
* @param styleZoom The desired style zoom. | ||
* @param options Zoom animation options. | ||
*/ | ||
setStyleZoom(styleZoom: number, options?: AnimationOptions): this; | ||
/** | ||
* Sets the map rotation angle. | ||
@@ -48,0 +54,0 @@ * @param rotation The desired map rotation in degrees. |
@@ -22,2 +22,6 @@ /** | ||
/** | ||
* The map will be constrained to the given bounds, if set. | ||
*/ | ||
maxBounds?: LngLatBounds; | ||
/** | ||
* Map rotation in degrees. | ||
@@ -24,0 +28,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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
41345
1337
0