feat(mobile): drift map page

This commit is contained in:
wuzihao051119 2025-07-16 15:18:27 +08:00 committed by mertalev
parent da5deffd03
commit d308d023c2
No known key found for this signature in database
GPG key ID: DF6ABC77AAD98C95
15 changed files with 783 additions and 0 deletions

View file

@ -0,0 +1,21 @@
import 'package:maplibre_gl/maplibre_gl.dart';
class Marker {
final LatLng location;
final String assetId;
const Marker({
required this.location,
required this.assetId,
});
@override
bool operator ==(covariant Marker other) {
if (identical(this, other)) return true;
return other.location == location && other.assetId == assetId;
}
@override
int get hashCode => location.hashCode ^ assetId.hashCode;
}