Leaflet library not avaliable even though it's in sites/all/libraries I've seen people talking about hook_library() etc., but I'm not creating a custom module, I'm trying to use Leaflet. In the browser I get the error message:

L is not defined


From leaflet.drupal.js in my sites/all/modules folder. I've got the Leaflet and Libraries modules installed and enabled, and the Leaflet files are extracted under sites/all/libraries/leaflet.

Anyone have any idea what I'm doing wrong?
Looks to me like the library hasn't been installed correctly, the path should be sites/all/libraries/leaflet/leaflet.js you should be able to append this to your sites URL to load the file.

Have you looked through https://www.drupal.org/node/1954942 to see whether anything helps?