From b5d0fd6290dc86aa395533fc72d2e7d22041fc42 Mon Sep 17 00:00:00 2001 From: NightHawk32 Date: Wed, 25 Nov 2015 17:45:52 -0500 Subject: [PATCH] GPS marker resized --- tabs/map.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tabs/map.html b/tabs/map.html index 838f5530..5cea21f3 100644 --- a/tabs/map.html +++ b/tabs/map.html @@ -33,16 +33,16 @@ function initialize() { map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions); + var image = { + url: '../images/icons/cf_icon_position.png', + scaledSize: new google.maps.Size(70, 70) + }; + var marker = new google.maps.Marker({ - icon : '../images/icons/cf_icon_position.png', + icon : image, position: new google.maps.LatLng(53.570645, 10.001362), - size: new google.maps.Size(10, 10), map:map - }); - - - // You can use a LatLng literal in place of a google.maps.LatLng object when