-
Notifications
You must be signed in to change notification settings - Fork 283
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
Looking for a bunch of js files in a missing static/src location #365
Comments
What are your statics and django-leaflets settings? What are the whole URLs? |
I have the same issue with |
What do you mean by There is no setting to change the js file. |
Not in my development environment, when my static files are served from the static folder. But, in production, I serve my statics from a cloud service (AWS S3, particularly) and the leaflet_js tag replace the tag with:
So to upload files using the I would prefer to load those static from another CDN (like cdnjs) to avoid keeping a copy of those files, that was what I was asking. |
There is currently no way to specify which JS to use. Feel free to open a PR which add this possibility. |
When loading a page it's trying to load a bunch of js files from a static/src directory.
static/src/core...
static/src/geometry...
static/src/control...
static/src/layer...
and others
I don't know why it is trying to load these files. I don't see anything in the documentation about why I should have a static/src directory.
I have a working page that loads a leaflet map, adds layer control, adds markers, and functions. However I am running into errors when adding new functionality. I'm not sure if these missing js files are causing it. To isolate what was trying to load these files I made a barebones page that all it does is loads leaflet_tags and leaflet_js which results in attempting to load all these js files.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: