-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (49 loc) · 2.06 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!-- HTML5 Declaration -->
<!DOCTYPE html>
<!-- W3C recommends declaring the primary language -->
<html lang="en">
<!-- Head element for backward compatability with HTML4 -->
<head>
<!-- ASCII and Standard Unicode Characters -->
<meta charset=utf-8 />
<!-- Mobile viewing enhancement -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Description should be roughly 155 characters, no double quotes, use keywords -->
<meta name="description" content="Basic HTML5 markup structure." />
<!-- Format as Primary Keyword - Secondary Keyword | Brand Name, keep under 55 characters -->
<title>HTML5 Outline - HTML5 Elements </title>
<!-- Minimize the number of CSS files for performance -->
<link href="style.css" rel="stylesheet" type="text/css" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js">
</script>
<noscript>
<strong>Warning !</strong>
Because your browser does not support HTML5, some elements are created using JavaScript.
Unfortunately your browser has disabled scripting. Please enable it in order to display this page.
</noscript>
<![endif]-->
</head>
<body>
<div id="map"></div>
<script>
var map;
var mapOptions = {
zoom: 12,
center: {lat:29.940366, lng:-90.120771},
};
//Apply CSS Id's and Classes as normal
var html0 = '<a href="http://www.rack.pub"><img src="http://www.rack.pub/favicons/android-chrome-192x192.png" alt="logo" class="logo"></a>';
var html1 = '<a href="http://www.rack.pub" class="copyright">© My Copyright</a>';
//Global method that is fired when the API is loaded and ready
function initMap () {
map = new google.maps.Map(document.getElementById("map"), mapOptions);
//intelleSense/Auto-complete works on IDE's
control.topCenter.add(html0);
control.bottomLeft.add(html1);
};
</script>
<script src='control.js'></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD77MKXE5L-T_byxewvLrhFqn5cA0m-t4s&callback=initMap"></script>
</body>
</html>