let AI comment everything because well... yeah...
This commit is contained in:
@@ -337,65 +337,6 @@ class _ViewEntriesState extends State<ViewEntries> {
|
||||
MarkerLayer(markers: marker),
|
||||
],
|
||||
),
|
||||
// ),
|
||||
// child: FutureBuilder(
|
||||
// future: mainEntries,
|
||||
// builder: (context, snapshot) {
|
||||
// if (snapshot.connectionState == ConnectionState.waiting) {
|
||||
// return const CircularProgressIndicator();
|
||||
// } else if (snapshot.hasError) {
|
||||
// return Text("Error ${snapshot.error}");
|
||||
// } else {
|
||||
// if (snapshot.data != null) {
|
||||
// markers =
|
||||
// snapshot.data!.map((e) {
|
||||
// return Marker(
|
||||
// width: 80.0,
|
||||
// height: 80.0,
|
||||
// point: LatLng(
|
||||
// double.parse(e['DECLAT'].toString()),
|
||||
// double.parse(e['DECLNG'].toString()),
|
||||
// ),
|
||||
// child: Column(
|
||||
// children: [
|
||||
// const Icon(
|
||||
// Icons.location_on,
|
||||
// color: Colors.red,
|
||||
// ),
|
||||
// Text(
|
||||
// "ID: ${e['ID'].toString()}",
|
||||
// style: const TextStyle(color: Colors.black),
|
||||
// ),
|
||||
// ],
|
||||
// ),
|
||||
// );
|
||||
// }).toList();
|
||||
// }
|
||||
// return FlutterMap(
|
||||
// options: MapOptions(
|
||||
// initialCenter:
|
||||
// markers.isEmpty
|
||||
// ? const LatLng(50, 10)
|
||||
// : markers.first.point,
|
||||
// interactionOptions: const InteractionOptions(
|
||||
// flags:
|
||||
// InteractiveFlag.pinchZoom |
|
||||
// InteractiveFlag.drag |
|
||||
// InteractiveFlag.pinchMove,
|
||||
// ),
|
||||
// ),
|
||||
// children: [
|
||||
// TileLayer(
|
||||
// urlTemplate:
|
||||
// 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
|
||||
// userAgentPackageName: 'com.example.app',
|
||||
// ),
|
||||
// MarkerLayer(markers: markers),
|
||||
// ],
|
||||
// );
|
||||
// } // REMOVE
|
||||
// }, // REMOVE
|
||||
// ), // REMOVE
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user