forked from ttwthomas/mcflurry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (27 loc) · 945 Bytes
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<title>Simple Map</title>
<script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAeTlM2-93T2TwzAVf-tpTAoCxlfHGSnqc&libraries=&v=weekly"></script>
<style type="text/css">
/* Always set the map height explicitly to define the size of the div
* element that contains the map. */
#map {
height: 100%;
}
/* Optional: Makes the sample page fill the window. */
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
</style>
<script src="./index.js" type="module"></script>
</head>
<body>
<div id="map"></div>
<p>si tu vois cette erreure, quelque chose ne va pas (clef d'api google map, javascript désactivé ou fichiers .js manquants..)</p>
</body>
</html>