//isPointInRing为true 当前坐标则在当前多边形区域内
let isPointInRing = AMap.GeometryUtil.isPointInRing(point,polygonArr);
通过contains()方法,判断一个点是否在一个区域内
let lnglat = new AMap.LngLat(116.39,39.9);
let circle = new AMap.Circle({
center: new AMap.LngLat(116.39,39.6),
radius: 200, //半径
zIndex: 50,
})
let isContain = circle.contains(lnglat);
if(isContain){
alert("在圆内")
}else{
alert("不在圆内")
}