Projekt

Obecné

Profil

Stáhnout (962 Bajtů) Statistiky
| Větev: | Revize:
1 b8edf218 vastja
{% extends 'base.html.twig' %}
2
3 fd4fa4af vastja
{% block stylesheets %}
4
    
5
    <link rel="stylesheet" href="{{ asset('css/leaflet.css') }}" />
6 20ecec4e vastja
    <link rel="stylesheet" href="{{ asset('css/styles.css') }}" />
7 fd4fa4af vastja
8
{% endblock %}
9
10 b8edf218 vastja
{% block body %}
11
12 20ecec4e vastja
    {# {% for data in open_data %}
13 5d0f8ac1 vastja
        {{ data._id}} {{data.place}} {{ data.x }} {{ data.y }} {{ data.number }} {{ data.date }}<br>
14 20ecec4e vastja
    {% endfor %} #}
15
16
    <div id="heatmap"></div>
17
18
19 b8edf218 vastja
20 fd4fa4af vastja
{% endblock %}
21
22 20ecec4e vastja
{% block javascripts %}
23 fd4fa4af vastja
24 20ecec4e vastja
    <script src="https://code.jquery.com/jquery-3.5.0.min.js" integrity="sha256-xNzN2a4ltkB44Mc/Jz3pT4iU1cmeR0FkXs4pru/JxaQ=" crossorigin="anonymous"></script>
25 fd4fa4af vastja
    <script src="{{ asset('js/leaflet.js') }}"></script>
26 20ecec4e vastja
    <script src="{{ asset('js/leaflet-heat.js') }}"></script>
27 55098dbb Tomáš Ballák
    <script src="{{ asset('js/zcu-heatmap.js') }}"></script>
28 20ecec4e vastja
    <script>
29
30 55098dbb Tomáš Ballák
       initMap();
31
       showHeatmap("{{ path('opendata', {'collectionName':'open-data-db.KOLOBEZKY31102018'}) }}");
32 20ecec4e vastja
33
    </script>
34 fd4fa4af vastja
35 b8edf218 vastja
{% endblock %}