0

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.

1
  • Please provide enough code so others can better understand or reproduce the problem. Commented Apr 29 at 11:35

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.