I am using this source code to display the google maps.
What i want to do is to make multiple marker for different places on the map:
loadMap() {
let element = document.getElementById(‘map’);
let map: GoogleMap = this.googleMaps.create(element, {});
let latlng = new LatLng(40.555, -33.5652);
map.one(GoogleMapsEvent.MAP_READY).then(() => {
let position: CameraPosition = {
target: latlng,
zoom: 10,
tilt: 30
}
map.moveCamera(position);
let markeroptions: MarkerOptions = {
position: latlng,
title: ‘Marker 1’
};
let marker = map.addMarker(markeroptions).then((marker: Marker) => {
marker.showInfoWindow();
})
})
}
Thank you