MobilApp/lib/map_layers/map_geojson_layer.dart

18 lines
548 B
Dart
Raw Permalink Normal View History

// 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
// }
// }