first commit

This commit is contained in:
2026-06-17 17:25:57 +03:00
commit 655e452cdd
90 changed files with 3891 additions and 0 deletions
@@ -0,0 +1,23 @@
package com.example.saferoute;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Query;
public interface ORSService {
@GET("v2/directions/foot-hiking")
Call<ORSResponse> getFootRoute(
@Query("api_key") String apiKey,
@Query("start") String start, // Формат: "lon,lat"
@Query("end") String end // Формат: "lon,lat"
);
@POST("v2/directions/foot-walking/geojson")
Call<ORSResponse> getMultiPointRoute(
@Header("Authorization") String apiKey,
@Body ORSRequest body
);
}