From 39214b54bfa55fb83a36794ac3fa4483da0a8e4c Mon Sep 17 00:00:00 2001 From: Scot Hacker Date: Fri, 10 Feb 2017 14:10:43 +0000 Subject: [PATCH] Add pin to Location maps --- bakerydemo/templates/locations/location_page.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bakerydemo/templates/locations/location_page.html b/bakerydemo/templates/locations/location_page.html index e296091..f06b639 100644 --- a/bakerydemo/templates/locations/location_page.html +++ b/bakerydemo/templates/locations/location_page.html @@ -33,6 +33,14 @@ }, zoom: 8 }); + var marker = new google.maps.Marker({ + position: { + lat: {{lat}}, + lng: {{long}} + }, + map: map, + title: '{{page.title}}' + }); }