js/map.js
(完整代码) 718Bfunction initMap() {
// Specify features and elements to define styles.
var styleArray = [
{
featureType: "all",
stylers: [
{ saturation: -80 }
]
}, {
featureType: "road.arterial",
elementType: "geometry",
stylers: [
{ hue: "#00ffee" },
{ saturation: 50 }
]
}, {
featureType: "poi.business",
elementType: "labels",
stylers: [
{ visibility: "off" }
]
}
];
// Create a map object and specify the DOM element for display.
var latlng = new google.maps.LatLng(27.7172, 85.3240);// Change a map coordinate here!
var map = new google.maps.Map(document.getElementById("map"), {
center: latlng,
scrollwheel: false,
// Apply the map style array to the map.
styles: styleArray,
zoom: 13
});
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。