Skip to content

Commit

Permalink
优化类型定义
Browse files Browse the repository at this point in the history
  • Loading branch information
xhwgood committed Aug 23, 2023
1 parent 53b21ba commit f720932
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tmap/overlay/imageGroundLayer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ declare namespace TMap {
/** 设置展示图层的地理范围。 */
setBounds(bounds: LatLngBounds): this;
/** 设置图层是否可见。 */
setVisible(visible: Boolean): this;
setVisible(visible: boolean): this;
/** 设置图层绘制顺序。 */
setZIndex(zIndex: Number): this;
setZIndex(zIndex: number): this;
/** 设置图层透明度。 */
setOpacity(opacity: Number): this;
setOpacity(opacity: number): this;
/** 更新图层资源路径,相同的url不会被更新。 */
setSrc(src: String): this;
/** 获取地图对象,若无返回null。 */
Expand Down

0 comments on commit f720932

Please sign in to comment.