How to enable black mode in Google Maps in iOS

Issue #246 Use GMSMapStyle https://developers.google.com/maps/documentation/android-sdk/styling Export styling json from https://mapstyle.withgoogle.com/ let mapStyleUrl = Bundle.main.url(forResource: "mapStyle", withExtension: "json")! mapView.mapStyle = try? GMSMapStyle(contentsOfFileURL: mapStyleUrl) To change overall color, search for mostly "elementType": "geometry" and "featureType": "water" { "elementType": "geometry", "stylers": [ { "color": "#424242" } ] } { "featureType": "water", "elementType": "geometry", "stylers": [ { "color": "#2E2E2E" } ] }

May 20, 2019 ยท 1 min ยท Khoa Pham