Why am I not able to load following object Points in to 2 dimensional Array MultiPoints?
var points = {lat:"48", long:"123"};
var MultiPoints = [];
for (i = 0; i <3; i++) {
MultiPoints.push(points[i].lat, points[i].long );
}
console.log(MultiPoints);
What I need to have is
var MultiPoints = [ [48, 123], [48, 123], [48, 123] ];