Skip to content

Commit aec3bbc

Browse files
committed
harta
1 parent 5c86d02 commit aec3bbc

1 file changed

Lines changed: 21 additions & 5 deletions

File tree

‎views/index.html‎

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,25 @@
9898
</div>
9999
</nav>
100100

101-
<div id="map"></div>
102-
<!-- <div class="content-wrapper">
103-
<div class="container-fluid">
104-
105-
</div>
101+
102+
<!-- <div class="content-wrapper">
103+
<div class="container-fluid"> -->
104+
<div id="map" style="width:100%;min-height:100vh"></div>
105+
<script>
106+
function initMap() {
107+
108+
// Create a map object and specify the DOM element for display.
109+
var map = new google.maps.Map(document.getElementById('map'), {
110+
center: {lat: -34.397, lng: 150.644},
111+
zoom: 8
112+
});
113+
console.log("here");
114+
}
115+
116+
</script>
117+
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAoJWKTh1B_Hh7CuMVoGnEy3b58F9axNuY&callback=initMap"
118+
async defer></script>
119+
<!-- </div>
106120
</div> -->
107121
<!-- /.container-fluid-->
108122
<!-- /.content-wrapper-->
@@ -287,6 +301,8 @@ <h5 class="modal-title" id="exampleModalLabel">Add new task</h5>
287301

288302
<script src="https://canvasjs.com/assets/script/canvasjs.min.js"></script>
289303

304+
305+
290306
</div>
291307
</body>
292308
</html>

0 commit comments

Comments
 (0)