Package cloud.pace.sdk.poikit.geo

Types

CofuGasStation
Link copied to clipboard
data class CofuGasStation @JvmOverloads constructor(id: String, coordinate: LatLng, connectedFuelingStatus: ConnectedFuelingStatus?, properties: Map<String, Any>)
ConnectedFuelingStatus
Link copied to clipboard
enum ConnectedFuelingStatus : Enum<ConnectedFuelingStatus>
GeoAPI
Link copied to clipboard
interface GeoAPI
GeoAPIClient
Link copied to clipboard
class GeoAPIClient(environment: Environment, context: Context)
GeoAPIFeature
Link copied to clipboard
data class GeoAPIFeature(id: String, type: String, geometry: Geometry, properties: Map<String, Any>)
GeoAPIManager
Link copied to clipboard
interface GeoAPIManager
GeoAPIManagerImpl
Link copied to clipboard
class GeoAPIManagerImpl(appApi: AppAPI, systemManager: SystemManager, locationProvider: LocationProvider) : GeoAPIManager
GeoAPIResponse
Link copied to clipboard
data class GeoAPIResponse(type: String, features: List<GeoAPIFeature>)
GeoGasStation
Link copied to clipboard
data class GeoGasStation(id: String, appUrls: List<String>)
Geometry
Link copied to clipboard
sealed class Geometry
GeometryCollection
Link copied to clipboard
data class GeometryCollection(geometries: List<Geometry>) : Geometry
Point
Link copied to clipboard
data class Point(coordinates: List<Double>) : Geometry
Polygon
Link copied to clipboard
data class Polygon(coordinates: List<List<List<Double>>>) : Geometry

Functions

coordinates
Link copied to clipboard
fun GeoAPIFeature.coordinates(): List<LatLng>
isInRange
Link copied to clipboard
fun GeoAPIFeature.isInRange(latitude: Double, longitude: Double, distanceThresholdInMeters: Int): Boolean
toLatLngs
Link copied to clipboard
fun Point.toLatLngs(): List<LatLng>
fun Polygon.toLatLngs(): List<LatLng>

Properties

GEOMETRY_COLLECTION_NAME
Link copied to clipboard
const val GEOMETRY_COLLECTION_NAME: String
POINT_NAME
Link copied to clipboard
const val POINT_NAME: String
POLYGON_NAME
Link copied to clipboard
const val POLYGON_NAME: String