mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
16 lines
367 B
TypeScript
16 lines
367 B
TypeScript
declare namespace AMap {
|
|
class ArrayBounds {
|
|
constructor(bounds: LocationValue[]);
|
|
bounds: LngLat[];
|
|
/**
|
|
* 判断传入的点是否在ArrayBounds内
|
|
* @param point 目标点
|
|
*/
|
|
contains(point: LocationValue): boolean;
|
|
|
|
// internal
|
|
toBounds(): Bounds;
|
|
getCenter(): LngLat;
|
|
}
|
|
}
|