Projekt

Obecné

Profil

Stáhnout (962 Bajtů) Statistiky
| Větev: | Revize:
1
{% extends 'base.html.twig' %}
2

    
3
{% block stylesheets %}
4
    
5
    <link rel="stylesheet" href="{{ asset('css/leaflet.css') }}" />
6
    <link rel="stylesheet" href="{{ asset('css/styles.css') }}" />
7

    
8
{% endblock %}
9

    
10
{% block body %}
11

    
12
    {# {% for data in open_data %}
13
        {{ data._id}} {{data.place}} {{ data.x }} {{ data.y }} {{ data.number }} {{ data.date }}<br>
14
    {% endfor %} #}
15

    
16
    <div id="heatmap"></div>
17

    
18

    
19

    
20
{% endblock %}
21

    
22
{% block javascripts %}
23

    
24
    <script src="https://code.jquery.com/jquery-3.5.0.min.js" integrity="sha256-xNzN2a4ltkB44Mc/Jz3pT4iU1cmeR0FkXs4pru/JxaQ=" crossorigin="anonymous"></script>
25
    <script src="{{ asset('js/leaflet.js') }}"></script>
26
    <script src="{{ asset('js/leaflet-heat.js') }}"></script>
27
    <script src="{{ asset('js/zcu-heatmap.js') }}"></script>
28
    <script>
29

    
30
       initMap();
31
       showHeatmap("{{ path('opendata', {'collectionName':'open-data-db.KOLOBEZKY31102018'}) }}");
32

    
33
    </script>
34

    
35
{% endblock %}
(2-2/2)