maxzoom property

Future<double?> get maxzoom

Maximum zoom level at which to create vector tiles (higher means greater detail at high zoom levels). Default value: 18.

Implementation

Future<double?> get maxzoom async {
  final localStyle = style;
  if (localStyle == null) return null;
  final raw = (await localStyle.getStyleSourceProperty(id, "maxzoom")).value;
  if (raw == null) return null;
  return (raw as num).toDouble();
}