代码
var map = new BMap.Map('map');
map.centerAndZoom(new BMap.Point(116.404, 39.915), 11);

// 左边:默认的citylist控件
var cityListControl = new BMap.CityListControl({
  anchor: BMAP_ANCHOR_TOP_LEFT,
  offset: new BMap.Size(10, 10),
});
map.addControl(cityListControl);
预览