Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LeafletResources path #14

Open
AreaInsights opened this issue Jun 7, 2018 · 1 comment
Open

LeafletResources path #14

AreaInsights opened this issue Jun 7, 2018 · 1 comment

Comments

@AreaInsights
Copy link

Can I recommend using GWT.getModuleBaseForStaticFiles() instead of GWT.getModuleName() in LeafletResources? In my case, my page was not the root.. eg /some/path which resulted in LeafletResources looking for /some/path/gwt_module_name/leaflet/leaflet.js.

Using GWT.getModuleBaseForStaticFiles(), LeafletResources instead looks for /gwt_module_name/leaflet/leaflet.js as expected

@zak905
Copy link
Member

zak905 commented Jun 7, 2018

Sounds good. I am gonna create a new snapshot version

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants