I am trying to place multiple markers on a map in my native Ionic 2 app.
//Connecting to locations database
this.db.connect();
let locations = this.db.collection('locations');
//Retrieving all the locations of users from database
locations.fetch().subscribe(msg => console.log(msg));
//loop through all the locations, adding markers at each position
for (let i = 0; i < 10; i++) {
let pin = locations[i];
let location: any;
let marker = new google.maps.Marker({
map: this.map,
animation: google.maps.Animation.DROP,
position : {"lat": 2433, "lng": 234}
});
//Content displayed in window on Map
let content =
//User profile information
'<h3>Name: </h3>' + this.user.details.name +
'<h3>Email: </h3>' + this.user.details.email +
'<h3>Image: </h3>' + '<img src='+this.user.details.image+'>' +
'<button id="sendRequest()" (click)>Request Walk</button>';
this.addInfoWindow(marker, content);
}
//end of locations loop
At the moment the long and lat figures are made up coordinates. I have a locations database containing user email, lat and lng data. I have this data in my console log:

I am wondering how I can access this data and use it to plot multiple different markers on my map.