You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Had problem getting module to work and tracked it down to hook_library. The leaflet library is installed in "leaflet" directory, not Leaflet.
I'm pretty sure it is supposed to be a lower case 'l'. Changing to $leaflet_core = libraries_get_path('leaflet'); in hook_library() got things working.
The text was updated successfully, but these errors were encountered:
I needed to change the capitalization as well as remove "dist" from the path to conform to how the most recent leaflet module sets things up. Here's a patch of what I did. The other option is to require leaflet.module users to have both a "leaflet" and "Leaflet" dir.
Had problem getting module to work and tracked it down to hook_library. The leaflet library is installed in "leaflet" directory, not Leaflet.
I'm pretty sure it is supposed to be a lower case 'l'. Changing to $leaflet_core = libraries_get_path('leaflet'); in hook_library() got things working.
The text was updated successfully, but these errors were encountered: