Skip to content

Commit

Permalink
fix(TileLayer): 静态属性声明错误
Browse files Browse the repository at this point in the history
  • Loading branch information
xyy94813 committed Mar 21, 2024
1 parent c67c013 commit d71d337
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions types/layers/TileLayer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,13 @@ export declare class TileLayer extends BaseLayer<TileLayerEventType> {
* */
reload(): void;

// setzIndex // BaseLayer 里声明
// getzIndex // BaseLayer 里声明
// setOpacity // BaseLayer 里声明
// getOpacity // BaseLayer 里声明
// getOptions // BaseLayer 里声明
// getZooms // BaseLayer 里声明
// setZooms // BaseLayer 里声明
// destroy // BaseLayer 里声明

// static property
static Traffic: TrafficLayer;
static Satellite: SatelliteLayer;
static RoadNet: RoadNetLayer;
static WMS: WMSLayer;
static WMTS: WMTSLayer;
static Flexible: FlexibleLayer;
static Traffic: typeof TrafficLayer;
static Satellite: typeof SatelliteLayer;
static RoadNet: typeof RoadNetLayer;
static WMS: typeof WMSLayer;
static WMTS: typeof WMTSLayer;
static Flexible: typeof FlexibleLayer;
}

export type TrafficLayerOptions = CommonLayerOptions &
Expand Down

0 comments on commit d71d337

Please sign in to comment.