title: How to make Leaflet Search actually search
body: <p>Implementing the Leaflet Search <a href="https://github.com/stefanocudini/leaflet-search#examples" rel="nofollow noreferrer">example</a> just produces a search box. Nothing happens when you open it and start typing. The leaflet search code isn't being executed. It just shows the red <code>Location not found</code>. The graph shows area's of interest and I need to do something with the area's that match search criteria, to identify them to the user.</p>
  
  <pre><code>var searchLayer = L.layerGroup().addTo(map);
  //... adding data in searchLayer ...
  map.addControl( new L.Control.Search({layer: searchLayer}) );
  //searchLayer is a L.LayerGroup contains searched markers
  </code></pre>
  
  <p>There is code in the control to search to the data. It takes into account a geoJson data structure.</p>
  
  <p>What am I missing in order to activate the search code?</p>