diff --git a/plugin/android/src/main/java/com/capacitorjs/plugins/googlemaps/GoogleMapConfig.kt b/plugin/android/src/main/java/com/capacitorjs/plugins/googlemaps/GoogleMapConfig.kt index 696380c4..45dff5f2 100644 --- a/plugin/android/src/main/java/com/capacitorjs/plugins/googlemaps/GoogleMapConfig.kt +++ b/plugin/android/src/main/java/com/capacitorjs/plugins/googlemaps/GoogleMapConfig.kt @@ -4,6 +4,7 @@ import com.google.android.gms.maps.GoogleMapOptions import com.google.android.gms.maps.model.CameraPosition import com.google.android.gms.maps.model.LatLng import com.google.android.gms.maps.model.LatLngBounds +import com.google.android.gms.maps.model.MapColorScheme import org.json.JSONObject class GoogleMapConfig(fromJSONObject: JSONObject) { @@ -118,6 +119,8 @@ class GoogleMapConfig(fromJSONObject: JSONObject) { if (mapId != null) { googleMapOptions?.mapId(mapId!!) } + + googleMapOptions?.mapColorScheme(MapColorScheme.FOLLOW_SYSTEM) } }