答案 0 :(得分:0)
你已经在变量中有标记,只需将它们循环遍历:
var tempPosition, string="";
for (var i = vmarkers.length - 1; i >= 0; i--) {
tempPosition = vmarkers[i].getPosition();
if(tempPosition) {
string += "[" + tempPosition.lat() + "," + tempPosition.lng() + "]";
}
}