Skip to content

Commit

Permalink
#103 wrong variable name ...
Browse files Browse the repository at this point in the history
  • Loading branch information
webgisdeveloper committed Apr 6, 2021
1 parent 4601f74 commit 53ad62c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simccs_maptool/templates/simccs_maptool/build.html
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ <h5 class="modal-title">Generate MPS file</h5>
datalayerid = entry['dataset'];
selected_ids.push(entry['source_id']);
}
var sourceLayer = mplayers[datalayerid];
var sourceLayer = maplayers[datalayerid];
var feature_id;
sourceLayer.eachLayer(function(layer) {
feature_id = layer.feature.properties['ID'].toString();
Expand All @@ -714,7 +714,7 @@ <h5 class="modal-title">Generate MPS file</h5>
datalayerid = entry['dataset'];
selected_ids.push(entry['source_id']);
}
var sinkLayer = mylayers[datalayerid];
var sinkLayer = maplayers[datalayerid];
sinkLayer.eachLayer(function(layer) {
feature_id = layer.feature.properties['ID'].toString();
if (selected_ids.includes(feature_id)) {
Expand Down

0 comments on commit 53ad62c

Please sign in to comment.