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

@2gis/mapgl

Package Overview
Dependencies
Maintainers
4
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.9.0 to 1.9.1

2

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

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

@@ -1,2 +0,1 @@

import { Map as JMap } from '@webmaps/jakarta';
import { MapOptions, FitBoundsOptions, Padding } from './types';

@@ -173,5 +172,10 @@ import { MapEventTable } from './types/events';

/**
* Sets a bound to limit movings on map
* @param bounds 2 lon-lat points to limit square
*/
setMaxBounds(bounds: LngLatBounds): this;
/**
* Returns the current map padding.
*/
getPadding(): import("@webmaps/jakarta").Padding;
getPadding(): Padding;
/**

@@ -183,3 +187,3 @@ * Sets the map padding.

*/
setPadding(padding: Partial<Padding>, options?: AnimationOptions): JMap;
setPadding(padding: Partial<Padding>, options?: AnimationOptions): this;
/**

@@ -186,0 +190,0 @@ * Pans and zooms the map to contain its visible area within the specified geographical bounds.

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