Update codebase

This commit is contained in:
Hamza-Ayed
2026-08-09 16:56:13 +03:00
parent 95e2e4f35d
commit b64debaa88
1058 changed files with 164327 additions and 113928 deletions
@@ -69,14 +69,14 @@ class CountryPolygons {
static String getRoutingApiUrl(String countryName) {
switch (countryName) {
case 'Jordan':
return 'https://routec.tripz.xyz/route-jo';
return 'https://routec.intaleq.xyz/route-jo';
case 'Syria':
return 'https://routec.tripz.xyz/route';
return 'https://routec.intaleq.xyz/route';
case 'Egypt':
return 'https://routec.tripz.xyz/route-eg';
return 'https://routec.intaleq.xyz/route-eg';
default:
// الافتراضي في حالة لم يقع الموقع ضمن أي من المضلعات
return 'https://routec.tripz.xyz/route';
return 'https://routec.intaleq.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 للتحقق من وقوع نقطة داخل مضلع