ionic-team / ionic-team/capacitor-google-maps

Set system color scheme for Android

Open
#169 0 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
32
Forks
47
PR merge metrics
No merged PRs in 30d

Description

## Feature Request

### Plugin
@capacitor/google-maps

### Description
Since the refactoring to the mapId, its not possible anymore to use custom map styles locally. Its possible to configure a light and dark theme in the google console, but the app does never reference the dark/night mode, but only the day/light mode. This happens, because the map config object does not set the color scheme.
```java
com.google.android.gms.maps.GoogleMapOptions.mapColorScheme(mapColorScheme: Int)
// Specifies a change to the initial map color scheme, default is MapColorScheme.LIGHT.
```
This should be set to MapColorScheme.FOLLOW_SYSTEM.

### Platform(s)
Android

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.