diff --git a/badger-pin.png b/badger-pin.png new file mode 100644 index 0000000..ba8ee42 Binary files /dev/null and b/badger-pin.png differ diff --git a/index.html b/index.html index 094125a..7d187ce 100644 --- a/index.html +++ b/index.html @@ -193,6 +193,14 @@

Sign in to continue

function(response) { const range = response.result; + var pinIcon = new google.maps.MarkerImage( + "./badger-pin.png", + null /* size is determined at runtime */, + null /* origin is 0,0 */, + null /* anchor is bottom center of the scaled image */, + new google.maps.Size(30, 50) + ); + range.values.forEach(function(row) { const [name, lat, lng, slack] = row; @@ -200,6 +208,7 @@

Sign in to continue

const marker = new google.maps.Marker({ position: { lat: +lat, lng: +lng }, animation: google.maps.Animation.DROP, + icon: pinIcon, map }); const content = document.createElement("div");