I have a page where given a select to the user he can switch the leaflet map I show.
After a initial leaflet map load, my problem is when i want to refresh the map.
the best way
map.off(); map.remove();
You should add map.off(), it also works faster, and does not cause problems with the events