Skip to content

Commit

Permalink
changed effect of new clear button (remove also route and markers)
Browse files Browse the repository at this point in the history
  • Loading branch information
damiendevienne committed May 31, 2018
1 parent 704ead1 commit 190bddc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions HTTP-NCBI/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,11 @@
taxidFrom = undefined;
map.removeLayer(SPfocus);
});
$("#clearTextarea").click(function(){
map.removeLayer(multipolyline);
map.removeLayer(markersMultiTaxid);
});

$("#searchinput").focus(function() {
$(this).autocomplete('search', $(this).val())
})
Expand Down

0 comments on commit 190bddc

Please sign in to comment.