2013-04-17 458 views

回答

0

下面是我如何做之前:

var myStyles =[ 
    { 
     featureType: "poi", 
     elementType: "labels", 
     stylers: [ 
       { visibility: "off" } 
     ] 
    } 
]; 

var myOptions = { 
    zoom: 10, 
    center: new google.maps.LatLng(54.42838,-2.9623), 
    mapTypeId: google.maps.MapTypeId.ROADMAP, 
    styles: myStyles 
}; 

map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);