Update: 2026-07-10 17:26:15

This commit is contained in:
Hamza-Ayed
2026-07-10 17:26:16 +03:00
parent 81d4715664
commit 2bce11b940
9 changed files with 27 additions and 17 deletions
@@ -3719,18 +3719,24 @@ class RideLifecycleController extends GetxController {
// بناء الـ markers أولاً ثم وضعها معاً مع polylines في تحديث واحد
final Set<Marker> newMarkers = {
// لا نمرر InfoWindow هنا: صور A/B تحتوي الحرف أصلاً، وأي textField
// إضافي يرسم حرفاً مكرراً فوق الدبوس بعد إصلاح الخطوط في الـ SDK.
Marker(
markerId: const MarkerId('start'),
position: startLoc,
icon: InlqBitmap.fromStyleImage('start_icon'),
infoWindow: InfoWindow(
title: startNameAddress.split('،').first.trim(),
snippet: 'start',
),
anchor: const Offset(0.5, 1.0),
),
Marker(
markerId: const MarkerId('end'),
position: endLoc,
icon: InlqBitmap.fromStyleImage('end_icon'),
infoWindow: InfoWindow(
title: endNameAddress.split('،').first.trim(),
snippet: 'end',
),
anchor: const Offset(0.5, 1.0),
),
};
@@ -3745,6 +3751,10 @@ class RideLifecycleController extends GetxController {
icon: InlqBitmap.fromStyleImage(isFirstWaypoint
? 'start_icon'
: 'end_icon'),
infoWindow: InfoWindow(
title: 'توقف ${i + 1}',
snippet: 'stop_$i',
),
anchor: const Offset(0.5, 1.0),
));
}