maxzoom property

Future<double?> get maxzoom

Maximum zoom level at which to create batched model tiles. Data from tiles at the maxzoom are used when displaying the map at higher 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();
}