这个还挺麻烦的,画出的多边形,每个点都有经纬度坐标由很多个连接起来的。https://blog.csdn.net/qilin001cs/article/details/106783374 参考这个,地图api可能有方法,我之前用superMap地图看过类似的http://support.supermap.com.cn:8090/webgl/web/index.html
containsPoint(point: Point )Boolean如果点的地理坐标位于此矩形内,则返回true
https://mapopen-pub-jsapi.bj.bcebos.com/jsapi/reference/jsapi_webgl_1_0.html#a1b2