@2gis/mapgl
Advanced tools
Comparing version 1.9.0 to 1.9.1
{ | ||
"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. |
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
50093
1588