diff options
| author | Yuval Adam <_@yuv.al> | 2017-10-10 17:33:42 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2017-10-10 17:33:42 +0300 |
| commit | 0ddc48530413d99176763d33f1b19063678a9c5a (patch) | |
| tree | b2eae013bda34894b10067259c072c8b37225604 /templates | |
| parent | f5738d71ef39eb665b51882eda5d4eb6739209cb (diff) | |
Radar source and layer loading
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html index f197769..b6754cc 100644 --- a/templates/index.html +++ b/templates/index.html @@ -15,10 +15,13 @@ </script> {% endif %} <script src="{{ url_for('static', filename='js/vue' + ('.min' if debug else '') + '.js') }}"></script> + <script src='https://api.mapbox.com/mapbox-gl-js/v0.40.1/mapbox-gl.js'></script> + <link href='https://api.mapbox.com/mapbox-gl-js/v0.40.1/mapbox-gl.css' rel='stylesheet' /> </head> -<body> +<body style="margin: 0;"> <script>window.imgs = {{ imgs|safe }};</script> - <div id="app"> + <div id="map" style="position:absolute; top:0; bottom:0; width:100%;"></div> + <div id="app" style="position:absolute;"> <root></root> </div> <script src="{{ url_for('static', filename='js/app.js') }}"></script> |
