i have a vue-google-map which need to display some content when clicked on the marker. how can i set the style for the infoWindow? this is my code which called the id iw-container into the css sheets.
this.infoWindow.position = location;
this.infoWindow.template = '<div class="iw-container"><div
style="width:100%;">NAME OF PIN</div>'
+ '<div style="width:100%;">name and info</div></div>';
this.infoWindow.open = true;
this is the css:
#iw-container {
background-color:pink;
}
but there are nothing happen to the infoWindow.
i also has try to set the style straight into the content like this :
this.infoWindow.position = location;
this.infoWindow.template = '<div style="background-color:pink;"><div
style="width:100%;">NAME OF PIN</div>'
+ '<div style="width:100%;">name and info</div></div>';
this.infoWindow.open = true;
but the colour is not completely fulfilled the infoWindow. can anyone suggest what can i do or anything that i should change?