title: refresh leaflet map: map container is already initialized
body: <p>I have a page where given a select to the user he can switch the leaflet map I show.</p>
  
  <p>After a initial leaflet map load, my problem is when i want to refresh the map. </p>
  
  <p>I always get "Map container is already initialized":</p>
  
  <p>The problem line is:</p>
  
  <pre><code>var map = L.map('mapa').setView([lat, lon], 15);
  </code></pre>
  
  <p>Initially it loads well, but when I select another parameter in the form and want to display the map another time it crashes.</p>
  
  <p>btw, I've tried to destroy and recreate <code>$('#mapa')</code> with jQuery before the second <code>setView()</code> but it shows the same error.</p>