personalpage/public/assets/js/google-maps.js

15 lines
399 B
JavaScript
Raw Normal View History

2023-03-23 15:09:09 +07:00
function initMap() {
// Latitude and Longitude
var myLatLng = {lat: -6.207690, lng: 106.985270};
var map = new google.maps.Map(document.getElementById('google-maps'), {
zoom: 17,
center: myLatLng
});
var marker = new google.maps.Marker({
position: myLatLng,
map: map,
title: 'South Jakarta, INA' // Title Location
});
}