嵌入地图视野 最后更新时间: 2026年11月07日
适用于仅展示某片区域的地图底图,例如文章配图、门店区域概览,不需要任何 POI 或路线标注。
适用终端
PC端
服务地址:
http://www.amap.com/ssr/embed/view参数说明
如何使用嵌入代码
在网页任意位置粘贴以下形式的 iframe 代码即可:
<iframe
src="http://www.amap.com/ssr/embed/view?lng=116.481028&lat=39.989643&zoom=12&platform=pc"
width="600"
height="450"
style="border:0"
loading="lazy"
allowfullscreen
referrerpolicy="strict-origin-when-cross-origin"
></iframe>
- width / height 可自定义,粘贴后亦可通过 CSS 实现手机、平板、PC 自适应。
- loading="lazy" 为可选属性,延迟加载可提升宿主页面性能。
效果展示
开放平台