Skip to content

Commit

Permalink
Fix reset of filter hand drawn boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
johnvanbreda committed Apr 19, 2018
1 parent 070fda6 commit f9c4f02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/reportFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,7 @@ jQuery(document).ready(function ($) {
$('input#location_list\\:search\\:name').val('');
if (typeof all === 'undefined' || all === false) {
indiciaData.mapdiv.removeAllFeatures(map.editLayer, 'boundary');
indiciaData.mapdiv.removeAllFeatures(map.editLayer, 'queryPolygon');
} else {
map.editLayer.removeAllFeatures();
}
Expand Down

0 comments on commit f9c4f02

Please sign in to comment.