Skip to content

Set system color scheme for Android #169

Description

@AE1NS

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.

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions