matchMapLanguageWithDeviceDefault method

Future<void> matchMapLanguageWithDeviceDefault()

Updates the language of the map labels to match the device's language.

The returned Future completes after the change has been made on the platform side.

Implementation

Future<void> matchMapLanguageWithDeviceDefault() async {
  return MapboxGlPlatform.getInstance(_id)!
      .matchMapLanguageWithDeviceDefault();
}