芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/bit-alphas-ltd.com/assets/front/js/map.js
var styleArray = [{ "featureType": "all", "elementType": "geometry", "stylers": [{ "color": "#202c3e" }] }, { "featureType": "all", "elementType": "labels.text.fill", "stylers": [{ "gamma": 0.01 }, { "lightness": 20 }, { "weight": "1.39" }, { "color": "#ffffff" } ] }, { "featureType": "all", "elementType": "labels.text.stroke", "stylers": [{ "weight": "0.96" }, { "saturation": "9" }, { "visibility": "on" }, { "color": "#000000" } ] }, { "featureType": "all", "elementType": "labels.icon", "stylers": [{ "visibility": "off" }] }, { "featureType": "landscape", "elementType": "geometry", "stylers": [{ "lightness": 30 }, { "saturation": "9" }, { "color": "#29446b" } ] }, { "featureType": "poi", "elementType": "geometry", "stylers": [{ "saturation": 20 }] }, { "featureType": "poi.park", "elementType": "geometry", "stylers": [{ "lightness": 20 }, { "saturation": -20 } ] }, { "featureType": "road", "elementType": "geometry", "stylers": [{ "lightness": 10 }, { "saturation": -30 } ] }, { "featureType": "road", "elementType": "geometry.fill", "stylers": [{ "color": "#193a55" }] }, { "featureType": "road", "elementType": "geometry.stroke", "stylers": [{ "saturation": 25 }, { "lightness": 25 }, { "weight": "0.01" } ] }, { "featureType": "water", "elementType": "all", "stylers": [{ "lightness": -20 }] } ] var mapOptions = { center: new google.maps.LatLng(23.874936, 90.385821), zoom: 10, styles: styleArray, scrollwheel: false, backgroundColor: '#e5ecff', mapTypeControl: false, mapTypeId: google.maps.MapTypeId.ROADMAP }; var map = new google.maps.Map(document.getElementsByClassName("maps")[0], mapOptions); var myLatlng = new google.maps.LatLng(23.874936, 90.385821); var focusplace = {lat: 55.864237, lng: -4.251806}; var marker = new google.maps.Marker({ position: myLatlng, map: map, icon: { url: "assets/images/map-marker.png" } })