Google Map. Android. Fill color outside city area
I using goole map in android app. I drawed city area on the map, like this:
fun fillCityPolygon(mMap: GoogleMap) {
val layer = GeoJsonLayer(
mMap,
R.raw.city_polygon,
this
)
val style = layer.defaultPolygonStyle
style.strokeColor = R.color.purple
style.strokeWidth = 10f
style.fillColor
layer.addLayerToMap()
}
I cant understand how i can fill all area outside the city area. Like this:
<a...