var map; var markers = []; var infoWindow; var latlng; var styledMap; function initialize( path ) { var styles = [ { "featureType": "poi.place_of_worship", "elementType": "labels.icon", "stylers": [ { "hue": "#ff00f9" }, { "saturation": "74" } ] }, { "featureType": "poi.school", "elementType": "labels.icon", "stylers": [ { "hue": "#ff00d5" }, { "saturation": "83" } ] }, { "featureType": "transit.station", "elementType": "labels.icon", "stylers": [ { "hue": "#ff00cb" } ] } ]; styledMap = new google.maps.StyledMapType(styles, {name: "NHS Bradford City CCG"}); latlng = new google.maps.LatLng(53.782919, -1.755214); var myOptions = { zoom: 17, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP } map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); marker = new google.maps.Marker({ position: latlng, map: map, title:"Bradford" }); map.mapTypes.set('map_style', styledMap); map.setMapTypeId('map_style'); }