第一种方法:
// 使用百度地图v3.0接口,在设置地图
map.setMapStyleV2({
styleJson: [{
"featureType": "road",
"elementType": "all",
"stylers": {
"color": "#ffffff",
"visibility": "off"
}
},
{
"featureType": "building",
"elementType": "all",
"stylers": {
"visibility": "off"
}
},
{
"featureType": "poilabel",
"elementType": "all",
"stylers": {
"visibility": "off"
}
},
{
"featureType": "manmade",
"elementType": "all",
"stylers": {
"visibility": "off"
}
},
]
});
第二种方法:
个性化编辑百度地图,地址如下
http://lbsyun.baidu.com/index.php?title=open/custom