File: meteo.map

package info (click to toggle)
previsat 7.2.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,044 kB
  • sloc: cpp: 26,063; xml: 21,489; makefile: 11; sh: 5
file content (43 lines) | stat: -rw-r--r-- 1,629 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html>
<head>
    <title>Meteo</title>
    <meta charset="utf-8" />

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="stylesheet" href="https://unpkg.com/leaflet@0.7.7/dist/leaflet.css" />
    <style type="text/css">
      html, body, #map {
          width: 100%;
          height: 100%;
          margin: 0;
      }
    </style>
</head>
<body>
    <div id="map"></div>

    <script src="https://unpkg.com/leaflet@0.7.7/dist/leaflet.js"></script>
    <script src="https://www.mapquestapi.com/sdk/leaflet/v2.2/mq-map.js?key=IJIOhD3abkHkZSklL6U1cPxvKaEOdOnX"></script>
    <script src="http://astropedia.free.fr/previsat/html/leaflet-openweathermap.js"></script>
    <script src="http://astropedia.free.fr/previsat/html/map.js"></script>
    <link rel="stylesheet" type="text/css" href="http://astropedia.free.fr/previsat/html/leaflet-openweathermap.css" />
    <link rel="stylesheet" type="text/css" href="http://astropedia.free.fr/previsat/html/map.css" />
    <script>

        var idx = Math.floor(Math.random() * 5);
        var tab = [ '1b7b680f6d1531b2cea93b44f0fc2c70',
                    'f893df6ed6414f8f448eef2fb39412c7',
                    '1f1dbe3c5cd5d51424eb864f2ec21de9',
                    '96c72072e85d1369d502b6f00d9f6d60',
                    'b992986a370491297070ecfa6d22cf3c' ];
        var lon = LONGITUDE_CENTRE;
        var lat = LATITUDE_CENTRE;
		var zoom = VALEUR_ZOOM;
        var uniteTemp = 'UNITE_TEMP';
        var uniteVent = 'UNITE_VENT';
        initMap(lon, lat, uniteTemp, uniteVent, zoom, tab[idx]);
    </script>
</body>
</html>