@2gis/mapgl
Advanced tools
Comparing version 1.16.0 to 1.17.0
{ | ||
"name": "@2gis/mapgl", | ||
"version": "1.16.0", | ||
"version": "1.17.0", | ||
"description": "MapGL API script loader with typings", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -31,2 +31,7 @@ import { Map } from '../map'; | ||
/** | ||
* Sets the clockwise rotation of the icon. | ||
* @param angle Angle in degrees. | ||
*/ | ||
setRotation(angle: number): this; | ||
/** | ||
* Sets the label of the marker. If you pass an empty label, the current one just will be deleted. | ||
@@ -33,0 +38,0 @@ * @param labelOptions Options of a new marker label. |
@@ -161,2 +161,6 @@ import { LngLatBounds } from '../objects/lngLatBounds'; | ||
/** | ||
* Icon clockwise rotation in the screen plane in degrees. | ||
*/ | ||
rotation?: number; | ||
/** | ||
* Marker icon URL in hovered state. | ||
@@ -277,2 +281,6 @@ */ | ||
size?: number[]; | ||
/** | ||
* Marker icon clockwise rotation in the screen plane in degrees. | ||
*/ | ||
rotation?: number; | ||
} | ||
@@ -279,0 +287,0 @@ /** |
@@ -17,1 +17,8 @@ export declare type InterpolateExpression<T extends number | string> = [ | ||
export declare type Layer = any; | ||
export declare type StyleOrigin = { | ||
type: 'styleserver'; | ||
styleId: string; | ||
} | { | ||
type: 'url'; | ||
url: string; | ||
}; |
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
60159
1915