主要通过设置features
,里面不要填写point
,代表标注即可。
mapConfig = {
zoom: 17,
cityName: MapCityName,
pitch: 25,
viewMode: '3D',
features: ['bg', 'road', 'building']
}
官方参考文档:https://lbs.amap.com/api/javascript-api/example/personalized-map/set-map-cotent