Applets use custom map styles (applets native Map component)
  • Tencent applet key lbs.qq.com/dev/console…
  • Setting map Styles

  • Use layer-style to match the style number of the key

The Web side uses custom maps
  • Define custom styles on the official website

  • Custom styles are used in vuE-AMAP components
<el-amap vid="js-container" class="map" zoom="12" :center="center" ref="map" :plugin="plugin" :style="'width:' + width" :events="mapEvents" > mapEvents = { init(o) { o.setMapStyle("amap://styles/80a414fee33c6fae1c76700ba9aa7863"); // Custom Amap style},};Copy the code