// import 'package:flutter/material.dart';
// import 'package:flutter_map/flutter_map.dart';

// import 'map_layer.dart';

// class GeoJsonLayer extends MapLayer {
//   final String sourceUrl; // Supabase Storage URL
//   final String? localPath; // offline cache
//   FeatureCollection? _data;

//   @override
//   Widget buildFlutterMapLayer() {
//     if (_data == null) return const SizedBox.shrink();
//     return PolygonLayer(polygons: _buildPolygons());
//     // vagy PolylineLayer / MarkerLayer a geometry type-tól függően
//   }
// }
