CloudMade/Leaflet — Issue #323: Make ROOT_URL an option
Author: cbas
Created: 2011-10-12 04:16:09+00:00
State: open

Hi,

First off thank you for the wonderful library. :)

I'm including Leaflet into a project's build process (a heavily extended HTML5 Boilerplate Ant script) so it gets merged into a big "scripts.js" file. The auto-detection of ROOT_URL fails to find a script file with "leaflet" in the src attribute so it defaults to the wrong ROOT_URL location.

Is there a way to pass ROOT_URL as a configuration option to Leaflet?

Regards,
Sebastiaan