Hello ,
I have multiple markers in my map which are shown using the code
this.map = GoogleMaps.create('map_canvas', {
camera: {
target: {
lat: lat,
lng: lng
},
zoom: 10,
tilt: 30
},
controls: {
myLocation: true,
myLocationButton: true,
}
});
this.map.on(GoogleMapsEvent.MAP_READY).subscribe(() => {
alert('map ready');
POINTS.forEach((data: any) => {
console.log(data);
data.disableAutoPan = true;
const marker: Marker = this.map.addMarkerSync(data);
marker.showInfoWindow();
});
});
using the code showinfowindow() only shows last marker info window.
Is it possible to shows infowindow for all the marker when loading.
Thank you