I trying to combine polygons on map
const coords = [
[
{ lat: 43.0317569, lng: 74.4996643 },
{ lat: 42.9684822, lng: 74.5491028 },
...
],
...
];
const polygons = new google.maps.Polygon({
paths: coords,
strokeColor: "#FF0000",
strokeOpacity: 0.7,
strokeWeight: 0,
fillColor: "#FF0000AA",
});
polygons.setMap(map);
And in result I see holes. I want to draw polygons without holes.