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

@2gis/mapgl

Package Overview
Dependencies
Maintainers
3
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.3.3 to 1.4.0

2

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

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