Skip to content

fix: 增加世界地图开启参数#701

Open
yiqia wants to merge 2 commits intoElemeFE:devfrom
yiqia:feature/add-show-oversea
Open

fix: 增加世界地图开启参数#701
yiqia wants to merge 2 commits intoElemeFE:devfrom
yiqia:feature/add-show-oversea

Conversation

@yiqia
Copy link
Copy Markdown

@yiqia yiqia commented Sep 16, 2025

官方链接:https://lbs.amap.com/api/javascript-api-v2/guide/map/world-map
image

新增showOversea参数,使用el-amap时,传递showOversea使用即可开启

<el-amap
      ref="map"
      :vid="'amap-demo'"
      :zoom="12"
      :events="mapEvents"
      :showOversea="true"
      :center="center">
    </el-amap>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant