2016-05-30 54 views
0

ESRI的JavaScript API featureLayer.applyEdits一段時間的作品,大部分時間節省POINT EMPTY在幾何形狀和Null值 這裏的屬性設置剩下的就是代碼featureLayer.applyEdits節省POINT EMPTY在ESRI的JavaScript API

featureLayer.applyEdits(drawnItems, null, null, function (add, update, del) { 
       console.log(JSON.stringify(drawnItems[0].attributes)); 
       ContaminantLayer.refresh(); 
       if(add[0].success===true) 
       { 
        console.log("Success"); 
       } 
      else { 
        toastr.error("Error occured "); 
       } 
      }, function (error) { 
       toastr.error("Error occured "); 

      }); 

回答