From e40baebb7c4be7c88fd8e9989a3835e67ff3f57b Mon Sep 17 00:00:00 2001 From: Taha Abbasi Date: Wed, 7 Nov 2018 11:00:49 -0500 Subject: [PATCH] Update location-info.pug The google maps static image no longer works without a free API Key. Updating the maps reference accordingly. related to issues #3, #4, #5 & #6 --- app_server/views/location-info.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_server/views/location-info.pug b/app_server/views/location-info.pug index d43ff28..65f7e9d 100644 --- a/app_server/views/location-info.pug +++ b/app_server/views/location-info.pug @@ -35,7 +35,7 @@ block content .card.card-primary .card-block h2.card-title Location map - img.img-fluid.rounded(src=`http://maps.googleapis.com/maps/api/staticmap?center=${location.coords.lat},${location.coords.lng}&zoom=17&size=400x350&sensor=false&markers=${location.coords.lat},${location.coords.lng}&scale=2`) + img.img-fluid.rounded(src=`http://maps.googleapis.com/maps/api/staticmap?center=${location.coords.lat},${location.coords.lng}&zoom=17&size=400x350&sensor=false&markers=${location.coords.lat},${location.coords.lng}&scale=2&key=ENTER-YOUR-Google-MAPS-API-KEY-HERE`) .row .col-12 .card.card-primary.review-card