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.5.1 to 1.6.0

2

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

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

@@ -160,2 +160,7 @@ import { MapOptions, LngLatBounds } from './types';

/**
* Upload styles object by its id and apply it to the map
* @param styleId uuid of the style
*/
setStyleById(styleId: string): Promise<this>;
/**
* Destroys the map and frees all related resources.

@@ -162,0 +167,0 @@ */

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

import type { StyleId } from '@webmaps/jakarta';
/**

@@ -73,2 +74,10 @@ * Map initialization options.

preserveDrawingBuffer?: boolean;
/**
* Set default background color, while style is loading
*/
defaultBackgroundColor?: string;
/**
* Set style id
*/
style?: StyleId;
}

@@ -75,0 +84,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