标签:百度 city type 画圆 circle str ffffff color over
画圈:
circle = new BMap.Circle(new BMap.Point(lg, lt), 2000, { fillColor: "blue", strokeWeight: 1, fillOpacity: 0.2, strokeOpacity: 0.2 });//半径2公里瞄点
map.addOverlay(circle)
利用map.setMapStyle方法个性化,如:
map.setMapStyle({
styleJson: [{
"featureType": "poi",
"elementType": "all",
"stylers": {
"color": "#ffffff",
"visibility": "off"
}
}]
});
标签:百度 city type 画圆 circle str ffffff color over
原文地址:http://www.cnblogs.com/taketo/p/6844796.html