JustFly1984 / react-google-maps-api

React Google Maps API
MIT License
1.79k stars 438 forks source link

Hiding certain region in map #3363

Open ShakthiNR opened 3 months ago

ShakthiNR commented 3 months ago

Dear team, I have been using react-google-maps-api extensively in my project. Is there any way to hide certain countries from the map? For example, I need to hide France from the entire map. Is there any way to do that? Currently, I am using Polygon components with France's surrounding coordinates and colouring them with watercolor. I believe this is not a wise idea. Are there any better approaches?

Thanks in advance.

Kind regards, Shakthi NR