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.44.0 to 1.45.0

2

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

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