Replies: 1 comment 2 replies
-
It is already supported, kind of. The night-mode/dark-mode is currently available in the beta version of the Google Maps API. You can tell the
Once the feature leaves the The only things that are not working yet are the constants for the values that google provides like: Once the feature is out of beta they will probably be made available through this library as well. Nightmode example: https://codesandbox.io/p/devbox/react-google-maps-dark-style-cy7fzf?file=%2Fsrc%2Fapp.tsx%3A17%2C24 |
Beta Was this translation helpful? Give feedback.
-
Will this be supported in the package in the future?
"Experimental map styles require your web app to use JavaScript Maps API version 3.47 or higher for vector-based maps and 3.49 or higher for raster-based maps."
per Introducing the latest in cloud-based maps styling
Beta Was this translation helpful? Give feedback.
All reactions