scheme property
Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed. Default value: "xyz".
Implementation
Future<Scheme?> get scheme async {
final localStyle = style;
if (localStyle == null) return null;
final raw = (await localStyle.getStyleSourceProperty(id, "scheme")).value;
if (raw == null) return null;
return Scheme.values.firstWhere(
(e) => e.toString().split('.').last.toLowerCase().contains(raw as String),
);
}