D8 Geocoder and KML files
I had a similar problem but not with leaflet.  It seems the geocoder could not parse kml files with polygons, only points.  I had some railroad routes that worked fine on google earth but not in drupal 8.  I redrew the routes that were "single lines" and it worked fine.