tileSize property

Future<double?> get tileSize

The minimum visual size to display tiles for this layer. Only configurable for raster layers. Default value: 512.

Implementation

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