var featureLayerURLTest=[["http://192.168.15.174:6080/arcgis/rest/services/Sample/GQYDGH/FeatureServer/0","线图层1"]];
function createSelectOption(featureLayerURLTest){
var _html="";
for(var _i=0;_i<featureLayerURLTest.length;_i++){
_html=_html+"<option value='"+featureLayerURLTest[_i][0]+"'>"+featureLayerURLTest[_i][1]+"</option>";
}
$("#featureLayerOptions").append(_html);
var html=$("#featureLayerOptions");
//console.log(html);
}
$(function(){
createSelectOption(featureLayerURLTest);
});