Schlumpf / osmodul

OSModul has moved to Gitlab!
https://gitlab.com/schlumpf/osmodul
8 stars 3 forks source link

Map not displaying #14

Closed chrisforker closed 8 years ago

chrisforker commented 8 years ago

Hi,

Many thanks for producing OSModul.

I have tried to integrate it into my website at: https://www.carberysailing.com/other-yacht-sailing-courses/ocean-passages

My problem is that the map is not displaying and when I use Chrome's inspect function I can see that an error is being caught: Uncaught Error: Couldn't autodetect L.Icon.Default.imagePath, set it manually.

I am using JCT and have configured it to exclude leaflet.js as you have suggested.

I would appreciate any pointers to get this working.

Best regards

Chris Forker

chrisforker commented 8 years ago

Discovered from the error message that this is an issue with leaflet when the template is set to minify.

I removed this option and the maps have displayed as expected.