File tree 1 file changed +1
-3
lines changed
simccs_maptool/templates/simccs_maptool
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -701,8 +701,6 @@ <h5 class="modal-title">Generate MPS file</h5>
701
701
selected_ids . push ( entry [ 'source_id' ] ) ;
702
702
}
703
703
var sourceLayer = maplayers [ datalayerid ] ;
704
- console . log ( datalayerid ) ;
705
- console . log ( maplayers ) ;
706
704
var feature_id ;
707
705
sourceLayer . eachLayer ( function ( layer ) {
708
706
feature_id = layer . feature . properties [ 'ID' ] . toString ( ) ;
@@ -719,7 +717,7 @@ <h5 class="modal-title">Generate MPS file</h5>
719
717
}
720
718
var sinkLayer = maplayers [ datalayerid ] ;
721
719
sinkLayer . eachLayer ( function ( layer ) {
722
- feature_id = layer . feature . properties [ 'ID ' ] . toString ( ) ;
720
+ feature_id = layer . feature . properties [ 'Sink_ID ' ] . toString ( ) ;
723
721
if ( selected_ids . includes ( feature_id ) ) {
724
722
sinkselection . push ( layer ) ;
725
723
}
You can’t perform that action at this time.
0 commit comments