stable: finalized GIS aesthetics and Syria/Jordan routing synchronization

This commit is contained in:
Hamza-Ayed
2026-03-28 04:12:01 +03:00
parent d6f3b41b53
commit 592af8ce5c
203 changed files with 9711 additions and 119 deletions
+37
View File
@@ -0,0 +1,37 @@
import 'package:flutter/material.dart';
import 'package:flutter_map/flutter_map.dart';
import 'package:latlong2/latlong.dart';
class IntaleqMapWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return FlutterMap(
options: MapOptions(
initialCenter: LatLng(33.5138, 36.2765), // Damascus / دمشق
initialZoom: 13.0,
),
children: [
TileLayer(
// هذا هو الرابط الذي يجلب الخريطة من السيرفر الخاص بك!
urlTemplate: 'https://app.intaleqapp.com/martin/planet_osm_line/{z}/{x}/{y}.pbf',
userAgentPackageName: 'com.intaleq.app',
subdomains: const ['a', 'b', 'c'],
),
],
);
}
}
// ─────────────────────────────────────────────────────────
// Helper Class for API Interaction (Intelligence API)
// ─────────────────────────────────────────────────────────
class IntaleqApiService {
static const String baseUrl = 'https://app.intaleqapp.com/api';
static const String apiKey = 'intaleq_secret_2026';
Future<void> triggerDailyIntelligence() async {
// مثال لطلب معالجة البيانات من داخل تطبيق فلاتر (اختياري)
print('Triggering 3 AM process manually...');
}
}