minzoom property

Future<double?> get minzoom

Minimum zoom level for which tiles are available, as in the TileJSON spec. Default value: 0.

Implementation

Future<double?> get minzoom async {
  return _style?.getStyleSourceProperty(id, "minzoom").then((value) {
    if (value.value != null) {
      return (value.value as num).toDouble();
    } else {
      return null;
    }
  });
}