棉花app新增页面

This commit is contained in:
czz
2025-06-03 09:34:31 +08:00
parent 79a9f165e1
commit 7e0dfa7494
112 changed files with 18479 additions and 73 deletions

View File

@@ -0,0 +1,46 @@
// import 'package:map_launcher/map_launcher.dart';
// class AppMapLocation {
// static List<AvailableMap> availableMaps = [];
// static List availableMapsToNames = [];
// static Future<void> checkInstalledApps() async {
// availableMaps = await MapLauncher.installedMaps;
// availableMapsToNames = availableMaps.map((AvailableMap m) {
// String v = "";
// switch (m.mapType) {
// case MapType.baidu:
// v = '百度地图';
// break;
// case MapType.tencent:
// v = '腾讯地图';
// break;
// case MapType.amap:
// v = '高德地图';
// break;
// case MapType.apple:
// v = 'Apple地图';
// break;
// case MapType.google:
// v = 'Google地图';
// break;
// case MapType.googleGo:
// v = 'Google地图Go';
// break;
// case MapType.petal:
// v = 'Petal地图';
// break;
// default:
// v = m.mapName;
// }
// return v;
// }).toList();
// }
// static void launchMap(index, title, double latitude, double longitude) async {
// await availableMaps[index].showMarker(
// coords: Coords(latitude, longitude),
// title: title,
// );
// }
// }