title: Set map boundary and stop endless panning in a loop of Folium map
body: <p>This is my folium code: </p>
  
  <pre><code>import folium
  mp = folium.Map(location=[37, -102], 
                  zoom_start=1, 
                  tiles="Stamen Terrain", 
                  )
  display(mp)
  </code></pre>
  
  <p>This is the output I get: 
  <a href="https://i.stack.imgur.com/hxpB5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hxpB5.png" alt="enter image description here"></a></p>
  
  <p>There are two problems with leaflet map: </p>
  
  <ol>
  <li>The continents are displayed 2 times or more in a loop. </li>
  <li>The map can be panned endlessly from left to right or vice-versa, in a loop. </li>
  </ol>
  
  <p>Both of these are nuisance. The first issue can be addressed temporarily by setting the <code>zoom_start</code> to something else than 1. But even then, zooming out of the map bring this issue back again. The less said about the second one the better. </p>
  
  <p>Now what I want is to limit the boundary of my map to, say, [-150, 150, -70, 70] or smaller. And I don't want to display beyond this bound, either by panning or zooming. Neither do I want my map to pan infinitely in a loop. </p>
  
  <p>Is it possible to do that in Folium? </p>