GPS marker resized

10.3.x-maintenance
NightHawk32 2015-11-25 17:45:52 -05:00
parent e6579a9fbe
commit b5d0fd6290
1 changed files with 6 additions and 6 deletions

View File

@ -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