Type any place name to the geocoding input and hit Enter before the results are rendered
Open the console to see the error (Uncaught TypeError: Cannot read property '-1' of undefined)
This bug happens because the leaflet control tries to select a result before the this.resultList in src/resultList.js isn't initialized yet. This pull request initializes this.resultList in the constructor.
To reproduce the bug:
This bug happens because the leaflet control tries to select a result before the
this.resultList
insrc/resultList.js
isn't initialized yet. This pull request initializesthis.resultList
in the constructor.