mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
🤖 Merge PR #46608 [bmapgl] update bmapgl types by @Junior2Ran
* add @types/bmapgl * update 3d api * fix Object to object
This commit is contained in:
parent
1dc4371d07
commit
0b8b09b0b7
2
types/bmapgl/bmapgl.core.d.ts
vendored
2
types/bmapgl/bmapgl.core.d.ts
vendored
@ -56,6 +56,8 @@ declare namespace BMapGL {
|
||||
getDraggingCursor(): string;
|
||||
setMinZoom(zoom: number): void;
|
||||
setMaxZoom(zoom: number): void;
|
||||
setHeading(zoom: number): void;
|
||||
setTilt(zoom: number): void;
|
||||
setMapStyle(mapStyle: MapStyle): void;
|
||||
setMapStyleV2(style: MapStyleV2): void;
|
||||
setPanorama(pano: Panorama): void;
|
||||
|
||||
2
types/bmapgl/bmapgl.maptype.d.ts
vendored
2
types/bmapgl/bmapgl.maptype.d.ts
vendored
@ -56,6 +56,8 @@ declare namespace BMapGL {
|
||||
type PerspectiveProjection = Projection;
|
||||
}
|
||||
declare const BMAP_NORMAL_MAP: BMapGL.MapType;
|
||||
declare const BMAPGL_NORMAL_MAP: BMapGL.MapType;
|
||||
declare const BMAP_EARTH_MAP: BMapGL.MapType;
|
||||
declare const BMAP_PERSPECTIVE_MAP: BMapGL.MapType;
|
||||
declare const BMAP_SATELLITE_MAP: BMapGL.MapType;
|
||||
declare const BMAP_HYBRID_MAP: BMapGL.MapType;
|
||||
|
||||
4
types/bmapgl/bmapgl.overlay.d.ts
vendored
4
types/bmapgl/bmapgl.overlay.d.ts
vendored
@ -38,6 +38,8 @@ declare namespace BMapGL {
|
||||
draw?(): void;
|
||||
show?(): void;
|
||||
hide?(): void;
|
||||
addEventListener(event: string, handler: Callback): void;
|
||||
removeEventListener(event: string, handler: Callback): void;
|
||||
}
|
||||
type SymbolShapeType = number;
|
||||
interface PolylineOptions {
|
||||
@ -320,6 +322,8 @@ declare namespace BMapGL {
|
||||
interface IconOptions {
|
||||
anchor?: Size;
|
||||
imageOffset?: Size;
|
||||
imageSize?: Size;
|
||||
srcset?: object;
|
||||
infoWindowAnchor?: Size;
|
||||
printImageUrl?: string;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user