var styles = [ { "elementType": "labels.text.fill", "stylers":[ { "visibility": "on" } , { "color": "#245C40" } ] } ]; var markerPos01 = new google.maps.LatLng(51.579021,-0.16898); var options = { center: markerPos01, zoom: 15, scrollwheel: false, //prevents the map zooming when the user is scroll-wheeling the web page disableDefaultUI: false, }; var div = document.getElementById('propertyMap'); var map = new google.maps.Map(div, options); var mapIconGold = 'img/map-icon-gold.png'; var mapIconGreen = 'img/map-icon-green.png'; window.onload = function () { var marker01 = new google.maps.Marker({ position: markerPos01, map: map, icon: mapIconGreen, /* title: 'Property Address' */ }); var contentString ="