push someone

This commit is contained in:
2022-10-29 23:32:48 +02:00
parent 9a92b852c2
commit 9fded2b11b
11 changed files with 360 additions and 1 deletions

17
utrace/scripts/maps.js Executable file
View File

@@ -0,0 +1,17 @@
// Google Maps
// Initialize and add the map
function initMap() {
// The map, centered at Uluru
const map = new google.maps.Map(document.getElementById("map"), {
zoom: 4,
center: '{$details->loc}',
});
// The marker, positioned at Uluru
const marker = new google.maps.Marker({
position: {'{$details->loc}',
map: map,
});
}
window.initMap = initMap;