title: How to display the leaflet popup on the right/left side of mouse pointer?
body: <p>I want to display the leaflet pop up on the right or left side of the mouse pointer. By default it is displayed on the top of the mouse pointer.</p>
  
  <p>how can I do that?</p>
  
  <p>The demo is available here: <a href="http://jsfiddle.net/Wn5Kh" rel="nofollow">http://jsfiddle.net/Wn5Kh</a></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;CircleMarker tooltip&lt;/title&gt;
          &lt;meta charset="utf-8" /&gt;
          &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
          &lt;link rel="stylesheet" href="http://leafletjs.com/dist/leaflet.css" /&gt;
          &lt;!--[if lte IE 8]&gt;
              &lt;link rel="stylesheet" href="http://leafletjs.com/dist/leaflet.ie.css"
              /&gt;
          &lt;![endif]--&gt;
      &lt;/head&gt;
  
      &lt;body&gt;
          &lt;div id="map" style="width: 600px; height: 400px"&gt;&lt;/div&gt;
          &lt;script src="http://leafletjs.com/dist/leaflet.js"&gt;&lt;/script&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>