personalpage/assets/js/google-maps.js
efbe aee45c1915
All checks were successful
/ run pull (push) Successful in 5s
update location file
2024-02-15 11:34:13 +07:00

15 lines
399 B
JavaScript

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
});
}