0

I'm using Django-leaflet in my project. 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.

{% load leaflet_tags %}

<head>
    {% leaflet_js %}
</head>

Any help would be appreciated.

kysevenle
  • 63
  • 1
  • 6

0 Answers0