-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
不再使用官方的类型声明库 ts 环境下使用 amapPolygonPath2GeoJSONCoords 时,输入输出类型变更
- Loading branch information
Showing
17 changed files
with
127 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,36 @@ | ||
export type AMapMarkerProps = AMap.MarkerOptions & { | ||
position: AMap.Vector2; | ||
anchor?: 'top-left' | 'top-center' | 'top-right' | 'middle-left' | 'center' | 'middle-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'; | ||
position: AMap.LngLatLike; | ||
anchor?: | ||
| 'top-left' | ||
| 'top-center' | ||
| 'top-right' | ||
| 'middle-left' | ||
| 'center' | ||
| 'middle-right' | ||
| 'bottom-left' | ||
| 'bottom-center' | ||
| 'bottom-right'; | ||
// | ||
visible?: boolean; | ||
// isTop?: boolean; | ||
// | ||
onHide?: (event?: any) => void; | ||
onShow?: (event?: any) => void; | ||
onClick?: (event?: any) => void | ||
onDBLClick?: (event?: any) => void | ||
onRightClick?: (event?: any) => void | ||
onMousemove?: (event?: any) => void | ||
onMousedown?: (event?: any) => void | ||
onMouseup?: (event?: any) => void | ||
onMouseover?: (event?: any) => void | ||
onMouseout?: (event?: any) => void | ||
onTouchstart?: (event?: any) => void | ||
onTouchmove?: (event?: any) => void | ||
onTouchend?: (event?: any) => void | ||
onDragstart?: (event?: any) => void | ||
onDragging?: (event?: any) => void | ||
onDragend?: (event?: any) => void | ||
onMoving?: (event?: any) => void | ||
onMoveEnd?: (event?: any) => void | ||
onMoveAlong?: (event?: any) => void | ||
onClick?: (event?: any) => void; | ||
onDBLClick?: (event?: any) => void; | ||
onRightClick?: (event?: any) => void; | ||
onMousemove?: (event?: any) => void; | ||
onMousedown?: (event?: any) => void; | ||
onMouseup?: (event?: any) => void; | ||
onMouseover?: (event?: any) => void; | ||
onMouseout?: (event?: any) => void; | ||
onTouchstart?: (event?: any) => void; | ||
onTouchmove?: (event?: any) => void; | ||
onTouchend?: (event?: any) => void; | ||
onDragstart?: (event?: any) => void; | ||
onDragging?: (event?: any) => void; | ||
onDragend?: (event?: any) => void; | ||
onMoving?: (event?: any) => void; | ||
onMoveEnd?: (event?: any) => void; | ||
onMoveAlong?: (event?: any) => void; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.