I'm using the react-native-maps package. When I use the fillColor property on a Circle or Polygon, it fills the inside of the shape — which works as expected.
However, I want to achieve something different: I would like to set a different color for the outside area of a Circle or Polygon — meaning the area outside the shape, not the inside.
The use case is to highlight restricted areas
Is there a way to achieve this directly with react-native-maps?
Thanks in advance!
I used fillColor on Circle and Polygon, but it only fills the inside. I want to color the area outside the shape instead.