Skip to content

Commit

Permalink
type: Fix LngLat type error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 31, 2022
1 parent cf13e0f commit bcd76d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/types/src/base.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ declare namespace AMap {
* @param noWrap 是否自动将经度值修正到 [-180,180] 区间内,缺省为false; noWrap 为false时传入 [190,30] ,会被自动修正为 [-170,30] , noWrap 为true时不会自动修正,可以用来进行跨日期限的覆盖物绘制
*/
constructor(lng: number, lat: number, noWrap?: boolean);
/** 地理经度 */
lng?: number
/** 地理纬度 */
lat?: number
/**
* 设置经度值
* @param lng 经度值
Expand Down

1 comment on commit bcd76d4

@vercel
Copy link

@vercel vercel bot commented on bcd76d4 May 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-amap – ./

react-amap-398188662.vercel.app
react-amap-git-master-398188662.vercel.app
react-amap-one.vercel.app

Please sign in to comment.