Fix leaflet images
This commit is contained in:
parent
2bc4cefdd2
commit
09ef1c51fc
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@
|
|||
{% block scripts %}
|
||||
<script src="{{ get_url(path='leaflet/leaflet.js') }}"></script>
|
||||
<script>
|
||||
L.Icon.Default.imagePath = "{{ get_url(path='leaflet/images', trailing_slash=true) }}";
|
||||
|
||||
var center = L.latLng(50.05635, 7.12507);
|
||||
var map = L.map('map', {
|
||||
center: center,
|
||||
|
|
Loading…
Reference in a new issue