UNPKG

@tuoyuan/map-adapter-lib

Version:

地图适配器库

14 lines (13 loc) 325 B
interface ILikePoint { /** 经度 */ readonly longitude: number; /** 纬度 */ readonly latitude: number; } /** * 判断点是否在多边形内 * @param point 点位坐标 * @param pts 多边形路径 */ export declare function isPointInPolygon(point: ILikePoint, pts: ILikePoint[]): boolean; export {};