import 'package:flutter/material.dart';
import 'package:terepi_seged/enums/map_layer_type.dart';
import 'package:terepi_seged/enums/map_layer_visibility.dart';

abstract class MapLayer {
  late final String id;
  late final String name;
  late final LayerType type;
  late LayerVisibility visibility;
  late double opacity;
  late int zIndex;
  //LayerStyle style;

  // Minden réteg tudja magát flutter_map widget-té alakítani
  Widget buildFlutterMapLayer();

  // Offline cache-elhetőség
  Future<void> prefetch();
  bool get isCached;
}
