Search code examples
google-mapsgoogle-maps-api-3google-maps-styling

Can make a Styled Map for only a region instead of the whole map in Google Maps v3?


I have been reading everything I can to find out how this can be done. It looks like the styled map applies only to the whole map, and I can't find a way to only apply it to a certain polygon region.


Solution

  • This isn't possible using the styled map. You'll need to supply your own overlay.

    The documentation is quite useful: https://developers.google.com/maps/documentation/javascript/overlays