إضافة الهوية الجديدة Tripz

This commit is contained in:
Hamza-Ayed
2026-07-29 02:31:04 +03:00
parent ecbe245b77
commit b9a97effe5
634 changed files with 5149 additions and 5294 deletions
@@ -69,14 +69,14 @@ class CountryPolygons {
static String getRoutingApiUrl(String countryName) {
switch (countryName) {
case 'Jordan':
return 'https://routec.intaleq.xyz/route-jo';
return 'https://routec.tripz.xyz/route-jo';
case 'Syria':
return 'https://routec.intaleq.xyz/route';
return 'https://routec.tripz.xyz/route';
case 'Egypt':
return 'https://routec.intaleq.xyz/route-eg';
return 'https://routec.tripz.xyz/route-eg';
default:
// الافتراضي في حالة لم يقع الموقع ضمن أي من المضلعات
return 'https://routec.intaleq.xyz/route';
return 'https://routec.tripz.xyz/route';
}
}
@@ -88,7 +88,7 @@ class CountryPolygons {
if (_isPointInPolygon(point, syriaBoundary)) return "Syria";
if (_isPointInPolygon(point, egyptBoundary)) return "Egypt";
return "unsupported";
return "unsupported";
}
/// خوارزمية Ray Casting للتحقق من وقوع نقطة داخل مضلع