I want to achieve the effect similar to what is presented here:

inside Android google map. The polygon should have a different map style (json file) than the rest of the map. Is there a way of doing that? I would even accept having two different maps (one under the other) and cutting the polygon out of the top map. Would that be possible?
That effect is possible with
Polygon.setHoles()orPolygonOptions.addHole()methods. You should create gray transparent polygon for all map (from -90 to 90 degrees of latitude and from -180 to 180 of longitude) with holes for each of your terrain location. Something like this:and you get something like that:
Also you need bitmap circles as markers for polygon vertexes or draw it as
Circleobjects.Update
For "hole-in-hole" case and "night-and-day" you should change
.fillColor(0x33000000)to more dark, e.g..fillColor(0xDD000000)and just add polygon with hole over "first" polygon. Something like this:and you are got something like that:
It's not a solution, but really good workaround. Or you can set "night" style for whole map and use custom
TileProviderorGroundOverlaywith "day" bitmap. Anyway - seems there are no "normal" way to create custom style for polygon part of the map.