@2gis/mapgl
Advanced tools
Comparing version 1.44.0 to 1.45.0
{ | ||
"name": "@2gis/mapgl", | ||
"version": "1.44.0", | ||
"version": "1.45.0", | ||
"description": "MapGL API script loader with typings", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -107,2 +107,8 @@ import { MapOptions, FitBoundsOptions, Padding, StyleState, SupportedSimpleOpts, GLContext } from './types'; | ||
/** | ||
* Sets the maximum map pitch for low zooms (zoom < 16.5). | ||
* @param pitch The desired maximum pitch in degrees. | ||
* @param options Options for animating the pitch in case the current pitch is bigger than the new maximum. | ||
*/ | ||
setLowZoomMaxPitch(pitch: number, options?: AnimationOptions): this; | ||
/** | ||
* Returns the current map size in logical pixels. | ||
@@ -109,0 +115,0 @@ */ |
@@ -58,2 +58,6 @@ import { LngLatBounds } from '../objects/lngLatBounds'; | ||
/** | ||
* Maximum map pitch in degrees for low zoom (zoom < 16.5). | ||
*/ | ||
lowZoomMaxPitch?: number; | ||
/** | ||
* The key that allows usage of the API. | ||
@@ -60,0 +64,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
80385
2550