title: leaflet.js fire event when map pans
body: <p>I use this function on my backbone view when a new GPS coordinate comes in:</p>
  <pre><code>onLocationFound: function(position){
      // this function runs every time we get a valid GPS fix
      
      // here I have some preparation code, like getting &quot;position&quot;
  
      if(myApp.mapView.hasCenter){
        this.map.panTo(position.coords.latlng);
      }
    },
  </code></pre>
  <p>Then, on another pice of code I run this function:</p>
  <pre><code>this.map.on(&quot;moveend&quot;, function(s){
      that.doDrawReports();
  });
  </code></pre>
  <p>My Problem is that the <code>moveend</code> event isn't catching my <code>panTo</code> operation. How can I catch it?</p>