@antv/l7-map 2.10.13 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/camera.d.ts +1 -1
- package/es/earthmap.d.ts +1 -1
- package/es/geo/lng_lat.d.ts +1 -1
- package/es/geo/lng_lat_bounds.d.ts +1 -1
- package/es/geo/point.d.ts +1 -1
- package/es/handler/handler_inertia.d.ts +1 -1
- package/es/handler/handler_manager.d.ts +1 -1
- package/es/map.d.ts +1 -1
- package/es/utils/task_queue.d.ts +1 -1
- package/package.json +3 -3
package/es/camera.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { LngLatBoundsLike } from './geo/lng_lat_bounds';
|
|
|
5
5
|
import { PointLike } from './geo/point';
|
|
6
6
|
import Transform from './geo/transform';
|
|
7
7
|
import { IMapOptions } from './interface';
|
|
8
|
-
|
|
8
|
+
type CallBack = (_: number) => void;
|
|
9
9
|
export interface ICameraOptions {
|
|
10
10
|
center?: LngLatLike;
|
|
11
11
|
zoom?: number;
|
package/es/earthmap.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import TouchZoomRotateHandler from './handler/shim/touch_zoom_rotate';
|
|
|
14
14
|
import { TouchPitchHandler } from './handler/touch';
|
|
15
15
|
import { IMapOptions } from './interface';
|
|
16
16
|
import { TaskID } from './utils/task_queue';
|
|
17
|
-
|
|
17
|
+
type CallBack = (_: number) => void;
|
|
18
18
|
export declare class EarthMap extends Camera {
|
|
19
19
|
doubleClickZoom: DoubleClickZoomHandler;
|
|
20
20
|
dragRotate: DragRotateHandler;
|
package/es/geo/lng_lat.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import LngLat, { LngLatLike } from './lng_lat';
|
|
2
|
-
export
|
|
2
|
+
export type LngLatBoundsLike = LngLatBounds | [LngLatLike, LngLatLike] | [number, number, number, number];
|
|
3
3
|
export default class LngLatBounds {
|
|
4
4
|
static convert(input: LngLatBoundsLike): LngLatBounds;
|
|
5
5
|
private ne;
|
package/es/geo/point.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export interface IInertiaOptions {
|
|
|
7
7
|
deceleration: number;
|
|
8
8
|
maxSpeed: number;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type InputEvent = MouseEvent | TouchEvent | KeyboardEvent | WheelEvent;
|
|
11
11
|
export default class HandlerInertia {
|
|
12
12
|
private map;
|
|
13
13
|
private inertiaBuffer;
|
|
@@ -2,7 +2,7 @@ import { EarthMap } from '../earthmap';
|
|
|
2
2
|
import { Map } from '../map';
|
|
3
3
|
import RenderFrameEvent from './events/render_event';
|
|
4
4
|
import { IHandlerResult } from './IHandler';
|
|
5
|
-
export
|
|
5
|
+
export type InputEvent = MouseEvent | TouchEvent | KeyboardEvent | WheelEvent;
|
|
6
6
|
export interface IHandlerOptions {
|
|
7
7
|
interactive: boolean;
|
|
8
8
|
boxZoom: boolean;
|
package/es/map.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import TouchZoomRotateHandler from './handler/shim/touch_zoom_rotate';
|
|
|
14
14
|
import { TouchPitchHandler } from './handler/touch';
|
|
15
15
|
import { IMapOptions } from './interface';
|
|
16
16
|
import { TaskID } from './utils/task_queue';
|
|
17
|
-
|
|
17
|
+
type CallBack = (_: number) => void;
|
|
18
18
|
export declare class Map extends Camera {
|
|
19
19
|
doubleClickZoom: DoubleClickZoomHandler;
|
|
20
20
|
dragRotate: DragRotateHandler;
|
package/es/utils/task_queue.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/l7-map",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "l7 map",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "thinkinggis <lzx199065@gmail.com>",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"homepage": "https://github.com/antvis/L7#readme",
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@antv/l7-utils": "2.
|
|
42
|
+
"@antv/l7-utils": "2.11.0",
|
|
43
43
|
"@babel/runtime": "^7.7.7",
|
|
44
44
|
"@mapbox/point-geometry": "^0.1.0",
|
|
45
45
|
"@mapbox/unitbezier": "^0.0.0",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"gl-matrix": "^3.1.0",
|
|
48
48
|
"lodash": "^4.17.15"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "ef67b8e74cb940ab6e150782d70b81678de4609d"
|
|
51
51
|
}
|