I am trying to add a 'zoom to' button in a leaflet popup that will pan and zoom to the feature when clicked. I can't figure out exactly how to do this with the code below (I know I am massacring the code):

```
function getLoc(e){
    map.setView(e.latlng);
    }

        // Load Mile Castles
        $.ajax({url:'load_milecastles.php',
               success: function(response){

                   jsnParks = JSON.parse(response);
                   lyrParks = L.geoJSON(jsnParks, 
                                { pointToLayer: function(feature,latlng){return L.marker(latlng,{icon: redMarker});}, 
                                  onEachFeature: function (feature, layer) {
                                layer.bindPopup(
                       "<center><h4><b>"+feature.properties.full_name+"</b></h4></center>" +
                       "<button onclick= 'getLoc(e)'>Zoom</button>");
                      }
                 }).addTo(map);

```