let pointarr = [];
for (let x = 0; x < mapoints.length; x++) {
console.log(mapoints, “mapoints”);
pointarr[x] = new Careland.GbPoint(mapoints[x][0], mapoints[x][1]);
}
let points = [];
for (let x = 0; x < mapoint.length; x++) {
console.log(mapoint, “mapoint”);
points[x] = new Careland.GbPoint(mapoint[x][0], mapoint[x][1]);
}
版权声明:本文为y43991314原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。