I have created several polygons over google map which are filled with color
Polygon polygon = mMap.addPolygon(opts.strokeColor(Color.WHITE).strokeWidth(2).fillColor(Color.RED));
I know how to set transparent whole polygon but is is it possible to set transparent only parts of it(change color)? The idea is, when the user touches the parts of polygon they are set transperent, something similar to this: Erase bitmap parts using PorterDuff mode But this example is used for DrawingViews and bitmaps, not for maps and polygons.