Created
April 29, 2020 12:41
-
-
Save Axrorxoja/990937772921c67acab187f28e216f81 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface NominationService { | |
// https://nominatim.openstreetmap.org/reverse.php?format=html&lat=41.318479&lon=69.294924&zoom=18 | |
@GET("reverse.php") | |
fun loadAddress( | |
@Query("lat") lat: Double, | |
@Query("lon") lon: Double, | |
@Query("format") format: String = "json", | |
@Query("accept-language") lang: String = "en" | |
): Call<NominationResponse> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment