title: How to get Leaflet GeoJSON feature containing a given latitude/longitude point
body: <p>I have a LeafletJS map with a GeoJSON layer that contains multiple polygons. If a user enters a latitude/longitude coordinate that falls within the GeoJSON layer, the script should retrieve the feature that contains that point and log some information about it to the console. </p>
  
  <p>I can't simply use Leaflet's built-in event handling because the latitude and longitude coordinates are generated by a separate input field, not by direct interaction with the map. So my question is not a duplicate of <a href="https://gis.stackexchange.com/questions/83450/how-to-highlight-features-on-user-click-in-leaflet">this</a>.</p>
  
  <p>I'm looking for something similar to <code>getFeatureContainingLatLng()</code> in the example below:</p>
  
  <pre><code>var map = L.map('map');
  var geojson = L.geoJson(myGeojson);
  
  geojson.addTo(map);
  
  $.on('address input changed event', function(lat, lng) {
      var myFeature = geojson.getFeatureContainingLatLng(lat, lng);
      console.log(myFeature.properties);
  });
  </code></pre>