我想在拖动时获取标记坐标。但是我不知道如何抓住它,穿搭对我没用
var lng = 67.00113639999995;
var lat = 24.8607343;
var latlng = new google.maps.LatLng(lat,lng);
var map = new google.maps.Map(document.getElementById('map'), {
center: latlng,
zoom: 13
});
var marker = new google.maps.Marker({
map: map,
position: latlng,
draggable: true,
anchorPoint: new google.maps.Point(0, -29)
});