function overlayAnalystProcess() {
var test1=L.marker([38,117]).addTo(map);
datasetOverlayAnalystParameters = new SuperMap.GeometryOverlayAnalystParameters({
operateDataset: test1,
sourceDataset: "BaseMap_R@Jingjin",
//tolerance: 0,
operation: SuperMap.OverlayOperationType.INTERSECT
});
overlayAnalystService = L.supermap.spatialAnalystService(serviceUrl);
console.log(overlayAnalystService)
overlayAnalystService.overlayAnalysis(datasetOverlayAnalystParameters, function (serviceResult) {
console.log(serviceResult);
var result = serviceResult.result;
resultLayer = L.geoJSON(serviceResult.result.recordset.features, {color: 'red'}).addTo(map);
});
我想把一个点和一个面进行叠加分析,判断该点是否在面内,为什么一直溢出了,报 Maximum call stack size exceeded