Skip to content

Commit

Permalink
Changing centerpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
akirosingh committed Dec 12, 2023
1 parent 0347e4d commit c263f26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
width: 99vw;
}
</style>
</head>
<script
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDevcjktLgU2INbF-3Zql4qqFiQNrQMcX0&callback=initMap"
async
Expand All @@ -33,18 +34,18 @@
};
return {
url: icons[boardType] || "icons/default_icon.png", // Default icon if board type not found
scaledSize: new google.maps.Size(25, 25), // Adjust size as needed
scaledSize: new google.maps.Size(30, 30), // Adjust size as needed
};
}

async function initMap() {
// Map center location
const center = { lat: 36.153, lng: -115.152 };
const center = { lat: 37.0902, lng: -95.71290 };

// Initialize map
map = new google.maps.Map(document.getElementById("map"), {
center: center,
zoom: 8,
zoom: 5,
mapId: "93de5b634874a879",
});

Expand Down Expand Up @@ -78,7 +79,6 @@
.catch((error) => console.error("Error:", error));
}
</script>
</head>
<body>
<div id="map"></div>
</body>
Expand Down

0 comments on commit c263f26

Please sign in to comment.