Skip to content

Commit

Permalink
#103 debug ...
Browse files Browse the repository at this point in the history
  • Loading branch information
webgisdeveloper committed Apr 6, 2021
1 parent d72484e commit 8b21ee1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions simccs_maptool/templates/simccs_maptool/build.html
Original file line number Diff line number Diff line change
Expand Up @@ -716,12 +716,15 @@ <h5 class="modal-title">Generate MPS file</h5>
selected_ids.push(entry['sink_id']);
}
var sinkLayer = maplayers[datalayerid];
console.log(sinkLayer);
console.log(selected_ids);
sinkLayer.eachLayer(function(layer) {
feature_id = layer.feature.properties['Sink_ID'].toString();
if (selected_ids.includes(feature_id)) {
sinkselection.push(layer);
}
});
console.log(sinkselection);
var panediv = displayselecteddata(panelid);
sidebar.addPanel({
id: panelid,
Expand Down

0 comments on commit 8b21ee1

Please sign in to comment.