@2gis/mapgl
Advanced tools
Comparing version 1.40.0 to 1.41.0
{ | ||
"name": "@2gis/mapgl", | ||
"version": "1.40.0", | ||
"version": "1.41.0", | ||
"description": "MapGL API script loader with typings", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -13,3 +13,2 @@ import { Map } from '../map'; | ||
userData: any; | ||
private options; | ||
/** | ||
@@ -16,0 +15,0 @@ * Example: |
@@ -13,3 +13,2 @@ import { Map } from '../map'; | ||
userData: any; | ||
private options; | ||
/** | ||
@@ -16,0 +15,0 @@ * Example: |
@@ -8,3 +8,2 @@ import { LngLatBounds } from './lngLatBounds'; | ||
export declare class Raster { | ||
private options; | ||
/** | ||
@@ -11,0 +10,0 @@ * Example: |
@@ -161,2 +161,6 @@ import { LngLatBounds } from '../objects/lngLatBounds'; | ||
/** | ||
* Disables fullscreen AntiAliasing when map is idle. | ||
*/ | ||
disableAntiAliasing?: boolean; | ||
/** | ||
* Sets the map WebGL version. It can be helpful if you use CustomLayer with other WebGL libraries. | ||
@@ -465,5 +469,11 @@ */ | ||
/** | ||
* Settings for drawing an object | ||
* on the surface of another map object | ||
*/ | ||
export interface TierOption { | ||
} | ||
/** | ||
* Polygon initialization options. | ||
*/ | ||
export interface PolygonOptions { | ||
export interface PolygonOptions extends TierOption { | ||
/** | ||
@@ -519,3 +529,3 @@ * Geographical coordinates of polygon points in format: `[outerEdges, cropEdges1, cropEdges2, ...]`. | ||
*/ | ||
export interface PolylineOptions { | ||
export interface PolylineOptions extends TierOption { | ||
/** | ||
@@ -612,3 +622,3 @@ * An array of polyline coordinates: `[firstPoint, secondPoint, ...]`. | ||
*/ | ||
export interface CircleOptions { | ||
export interface CircleOptions extends TierOption { | ||
/** | ||
@@ -857,4 +867,5 @@ * Geographical coordinates of the circle center: `[longitude, latitude]`. | ||
* @param zoom | ||
* @param bbox Tile bounds in EPSG:3857 (Web Mercator) coordinates. | ||
*/ | ||
url: (x: number, y: number, zoom: number) => string; | ||
url: (x: number, y: number, zoom: number, bbox?: LngLatBounds) => string; | ||
/** | ||
@@ -889,3 +900,3 @@ * The minimum zoom value for which source data exists. | ||
*/ | ||
export interface RasterOptions { | ||
export interface RasterOptions extends TierOption { | ||
/** | ||
@@ -892,0 +903,0 @@ * Raster geographical bounds in which an image will be displayed. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78293
2516