The background-color of the info window is always white, so we have to use hard-coded values here.
if (data.infoWindow) {
const content = document.createElement("div");
+ content.classList.add("googleMapsInfoWindow");
DomUtil.setInnerHtml(content, data.infoWindow);
const infoWindow = new google.maps.InfoWindow({
this.#clusterer.addMarker(marker);
if (data.infoWindow) {
const content = document.createElement("div");
+ content.classList.add("googleMapsInfoWindow");
Util_1.default.setInnerHtml(content, data.infoWindow);
const infoWindow = new google.maps.InfoWindow({
headerContent: data.title,
margin-top: 5px;
text-align: right;
}
+
+.googleMapsInfoWindow {
+ color: #333;
+
+ a,
+ a:hover {
+ color: #369;
+ }
+}