wq/wq.app

wq/map.js: L.Icon.Default.imagePath might be undefined when module loads

Closed this issue · 0 comments

The best solution would be to compute it automatically based on the location of the CSS file (rather than the JS location which is what Leaflet tries to do).

Either way, should probably change wq/map.js so that it works even if L.Icon.Default.imagePath is changed after the module loads (e.g. by the user's own map module).