summaryrefslogtreecommitdiff
path: root/plugins/aves_map/lib/src/interface.dart
diff options
context:
space:
mode:
authormirror <mirror@localhost>2026-11-22 08:41:00 +0900
committermirror <mirror@localhost>2026-11-22 08:41:00 +0900
commit449d8b74bd6d9dae98a07254cdfad677b920e7b0 (patch)
treec131c3528c4d517f56e19b854a7453fedb097d40 /plugins/aves_map/lib/src/interface.dart
downloadaves-src-master.tar.gz
aves-src-master.zip
snapshot of aves v1.13.12 (secrets removed: android/app/google-services.json)HEADv1.13.12master
Diffstat (limited to 'plugins/aves_map/lib/src/interface.dart')
-rw-r--r--plugins/aves_map/lib/src/interface.dart12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/aves_map/lib/src/interface.dart b/plugins/aves_map/lib/src/interface.dart
new file mode 100644
index 0000000..3f2cc17
--- /dev/null
+++ b/plugins/aves_map/lib/src/interface.dart
@@ -0,0 +1,12 @@
+import 'package:aves_map/src/geo_entry.dart';
+import 'package:aves_map/src/marker/key.dart';
+import 'package:flutter/material.dart';
+import 'package:latlong2/latlong.dart';
+
+typedef MarkerClusterBuilder<T> = Map<MarkerKey<T>, GeoEntry<T>> Function();
+typedef MarkerWidgetBuilder<T> = Widget Function(MarkerKey<T> key);
+typedef MarkerImageReadyChecker<T> = bool Function(MarkerKey<T> key);
+typedef UserZoomChangeCallback = void Function(double zoom);
+typedef MapTapCallback = void Function(LatLng location);
+typedef MarkerTapCallback<T> = void Function(GeoEntry<T> geoEntry);
+typedef MarkerLongPressCallback<T> = void Function(GeoEntry<T> geoEntry, LatLng tapLocation);