title: To center a leaflet map on a marker from a link or button
body: <p>I need to be able to center the leaflet map on a marker when the appropriate button is click.</p>
  
  <pre><code>&lt;button onclick='getLoc(" + geojson.features[i].geometry.coordinates[0] + "," +     geojson.features[i].geometry.coordinates[1] + ")'&gt;View&lt;/button&gt;
  
  
  
  function getLoc(c){
  var c = L.GeoJSON([lng,lat]);
  }
  </code></pre>
  
  <p>I'm stuck from here, any help to finish this would be greatly appreciated. Or if anyone else has a different way of doing it using JSON. </p>