tripkit-android / com.skedgo.geocoding / GeocodeUtilities
GeocodeUtilities
open class GeocodeUtilities
Constructors
Name | Summary |
---|---|
<init> | GeocodeUtilities() |
Functions
Name | Summary |
---|---|
compareInt | open static fun compareInt(x: Int , y: Int ): Int |
isAbbreviationFor | open static fun isAbbreviationFor(abbreviation: String !, text: String !): Boolean |
isSuburb | open static fun isSuburb(foursquareResult: GCFoursquareResultInterface !): Boolean |
rangedScoreForScore | open static fun rangedScoreForScore(score: Int , minimum: Int , maximum: Int ): Int |
scoreBasedOnDistanceFromCoordinate | open static fun scoreBasedOnDistanceFromCoordinate(coordinate: LatLng !, region: GCBoundingBox !, regionCenter: LatLng !, longDistance: Boolean ): Int |
scoreBasedOnNameMatchBetweenSearchTerm | open static fun scoreBasedOnNameMatchBetweenSearchTerm(searchTerm: String !, candidate: String !): Int |
scoreBetweenSearchTerm | open static fun scoreBetweenSearchTerm(target: String !, candidate: String !): Int |
sortByImportance | open static fun <T : GCResultInterface !> sortByImportance(scoreResults: MutableList < MGAResultInterface <T>!>!): MutableList < MGAResultInterface <T>!>! |
sortByScore | open static fun <T : GCResultInterface !> sortByScore(scoreResults: MutableList < MGAResultInterface <T>!>!): MutableList < MGAResultInterface <T>!>! |
stringForScoringOfString | open static fun stringForScoringOfString(term: String !): String ! |