I’ve got a Google Maps (v3) map with 4 separate overlays, which are populated from 4 separate KML files. Three of the KML files only indicate points on the map which I render as different-colored (e.g. red, blue, yellow) Google makers. The third overlay contains multiple coordinates for polygons (i.e. building outlines).
The problem is that the polygons (building outlines) are on top of the markers in the other 3 overlays. I would like for the other three overlays (the markers) to be on top of the polygons.
Add the KmlLayer for the polygons to the map first (you may need to wait for it to be rendered to ensure it is on the bottom). There are several feature requests to allow specifying the relative z-index of layers, but it hasn’t been implemented.