--arcgis 限制1000条访问,循环读取方式
//数目如果超过1000条
if(array.length>1000){
var resultPage:Number = array.length / 1000;
if (array.length % 1000 != 0) {
++resultPage;
}
var startindex:Number=0;
var endindex:Number=1000;
for (var pi:Number = 0; pi < resultPage; pi++) {
var someLetters:Array = array.slice(startindex,endindex);
queryFeaturesText(someLetters);
startindex+=1000;
endindex+=1000;
}
}else
{
queryFeaturesText(array);
}
//数目如果超过1000条
if(array.length>1000){
var resultPage:Number = array.length / 1000;
if (array.length % 1000 != 0) {
++resultPage;
}
var startindex:Number=0;
var endindex:Number=1000;
for (var pi:Number = 0; pi < resultPage; pi++) {
var someLetters:Array = array.slice(startindex,endindex);
queryFeaturesText(someLetters);
startindex+=1000;
endindex+=1000;
}
}else
{
queryFeaturesText(array);
}