请问用LEAFLET的getFeaturesBySQLc查询出的结果比实际的少,请问结果数目有限制吗?一共6325条结果就显示出1000条,我在代码里设置了toindex为7000,
//显示全部要素图层
function showLayer(){
Clear_Layer();
var sqlParam = new SuperMap.GetFeaturesBySQLParameters({
queryParameter: {
name: "P_gangkou@yzt"
},
datasetNames: ["yzt:P_gangkou"],
toIndex:7000
});
L.supermap.featureService(test_data).getFeaturesBySQL(sqlParam, function (serviceResult) {
console.log(serviceResult.result);
resultLayer3 = L.geoJSON(serviceResult.result.features).addTo(map);
});
}