//Push the json object at the current index onto nameArray.
nameArray.push(data.features[index].properties);
//Increment index.
index++;
}
}
//Ajax call to WFS server with the features/data need.
$.ajax({
//URL of WFS server.
// Old URL https://astrocloud.wr.usgs.gov/dataset/data/nomenclature/MARS/WFS?version=1.1.0.0&service=WFS&request=GetFeature&srsname=EPSG4326&outputFormat=application/json
//Push the json object at the current index onto nameArray.
nameArray.push(data.features[index].properties);
//Increment index.
index++;
}
}
//Ajax call to WFS server with the features/data need.
$.ajax({
//URL of WFS server.
// Old URL https://astrocloud.wr.usgs.gov/dataset/data/nomenclature/MARS/WFS?version=1.1.0.0&service=WFS&request=GetFeature&srsname=EPSG4326&outputFormat=application/json