maxZoom property

double maxZoom
latefinal

The maximum zoom level up to which this layer will be displayed (inclusive).

Prefer maxNativeZoom for setting the maximum zoom level supported by the tile source. The main usage for this is to display a different TileLayer when zoomed far in.

Otherwise, this should usually be infinite (as default), so that there are tiles always displayed.

Implementation

late final double maxZoom;