百度地图截图

百度地图获取截图的示例:

http://api.map.baidu.com/staticimage?width=265&height=268&center=121.477091,31.237164&markers=121.477091,31.237164&zoom=17&markerStyles=l,A,0xFF00FF

<div class="right1">
  <h2>查看地图</h2>
  <div class="right1_cont">
    <div class="market_map">
      <img
        src="http://api.map.baidu.com/staticimage?width=265&amp;height=268&amp;center=#{x},#{y}&amp;markers=#{x},#{y}&amp;zoom=17&amp;markerStyles=l,A,0xFF00FF" />
    </div>
  </div>
</div>

 

posted @ 2020-09-30 11:01  1156740846  阅读(493)  评论(0编辑  收藏  举报