fixed bug on display buypoints

This commit is contained in:
Mohamed Nouffer
2023-05-16 20:40:02 +05:30
parent 05a812428a
commit 1769d52601
25 changed files with 108 additions and 85 deletions

View File

@ -12,7 +12,7 @@ class TrackingService {
Map<String, dynamic> cats = {};
String server_url = ConstValues.currentServer();
String url = '${server_url}/api/track/';
//String url = 'http://localhost:8100/api/track/';
print('++++++++${url}');
final geom = '{"type": "MULTIPOINT", "coordinates": [[${lon}, ${lat}]]}';
final http.Response response = await http.post(
Uri.parse(url),