title: How can we check if polyline exists within map bounds in leaflet
body: <p>I am plotting the lines from geojson file on a leaflet map. Now I need to read the fetaures back which exist within the map bounds based on current view.</p>
  
  <p>I cam across this link:
  <a href="https://github.com/stefanocudini/leaflet-list-markers/blob/master/src/leaflet-list-markers.js" rel="nofollow noreferrer">https://github.com/stefanocudini/leaflet-list-markers/blob/master/src/leaflet-list-markers.js</a> 
  which basically checks if the markers exist within the bounds using layer.getLatLng() function. Tried using this but it throws "method does not exist" in my case.</p>
  
  <p>Is there anyway to check if the line feature exists within map bounds after they have been added on the map.</p>