获取的到的是面的数据格式是
需要先转成polygon。
let _points = JSON.parse(that.hotZone).coordinates
this.polygonFeature = new Feature({
geometry: new Polygon(_points)
})
然后在点击map的singleclick里面
let geo = that.polygonFeature.getGeometry()
that.isIn = geo.intersectsCoordinate(that.clickPoint); // clickPoint为map点击的座标
if(that.isIn) {
console.log("该mark点在当前几何元素里。");
}`