@inesS8 wrote:
private addMaker(lat: number, lng: number) { const marker = new google.maps.Marker({ position: { lat, lng }, map: this.mapRef, title: 'test', icon: { url: "../assets/icon/car.png", scaledSize: new google.maps.Size(35, 35) }, }) //Marker + infowindow + alert[quote="AhmadAlMunajjed, post:1, topic:159682, full:true"] What is the difference between the two types of ionic 4 project: angular and ionic-angular? [/quote] var contentString = "Click me!"; var infowindow = new google.maps.InfoWindow({ content: contentString }); google.maps.event.addListener(marker, 'click', function() { infowindow.open(Map,marker); // show alert don't work !!! this.presentAlert(); } ); }
Posts: 1
Participants: 1