其他分享
首页 > 其他分享> > vue使用高德地图,在地图上选点获取坐标

vue使用高德地图,在地图上选点获取坐标

作者:互联网

需求是点击按钮后,弹出地图,在地图上选点后,传给后端

在index.html引入

<script type="text/javascript"  src="http://webapi.amap.com/maps?v=1.4.15&key=密钥&plugin=AMap.Geocoder"></script>

使用页面:

<template>
    <div>
        <button @click=

标签:选点,index,vue,地图,html,高德
来源: https://blog.csdn.net/weixin_45979310/article/details/120676347