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

@2gis/mapgl

Package Overview
Dependencies
Maintainers
5
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.19.0 to 1.19.1

types/bss/index.d.ts

2

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

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

import { LngLatBounds } from '../objects/lngLatBounds';
import { AnimationOptions } from './animations';
import { InterpolateExpression } from './styles';
import { InterpolateExpression, StyleOptions } from './styles';
import { FeatureCollection } from 'geojson';

@@ -122,2 +122,6 @@ /**

/**
* Map style options. Containts path to style assets - icons and fonts.
*/
styleOptions?: Partial<StyleOptions>;
/**
* The desired map language.

@@ -124,0 +128,0 @@ * short language code 'en', 'ru', ...etc

@@ -18,8 +18,9 @@ export declare type InterpolateExpression<T extends number | string> = [

export declare type Style = any;
export declare type StyleOrigin = {
type: 'styleserver';
styleId: string;
} | {
type: 'url';
url: string;
};
/**
* Style options - paths to icons and fonts
*/
export interface StyleOptions {
stylePath?: string;
iconsPath: string;
fontsPath: string;
}
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