Skip to content

Commit 90a1aa1

Browse files
committed
Correct function name
1 parent 05c99cc commit 90a1aa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/org/nitri/opentopo/ors/Directions.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Directions(val client: OrsClient, private val profile: String) {
1111

1212
val routeHelper = RouteHelper()
1313

14-
fun getRouteGpx(coordinates: List<List<Double>>, language: String, result: RouteGpResult) {
14+
fun getRouteGpx(coordinates: List<List<Double>>, language: String, result: RouteGpxResult) {
1515
CoroutineScope(Dispatchers.IO).launch {
1616
try {
1717
val gpxXml = with(routeHelper) { client.getRouteGpx(coordinates, language, profile) }
@@ -30,7 +30,7 @@ class Directions(val client: OrsClient, private val profile: String) {
3030
}
3131
}
3232

33-
interface RouteGpResult {
33+
interface RouteGpxResult {
3434
fun onSuccess(gpx: String)
3535
fun onError(message: String)
3636
}

0 commit comments

Comments
 (0)