Mapsted Android SDK 26.8.1
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Mapsted Android SDK 26.8.1
android-sdk-map
/
com.mapsted.map
/
MapApi
/
CustomPoi
/
CustomPoiCallback
Custom
Poi
Callback
interface
CustomPoiCallback
Result callback for addAndRouteToCustomPoi. Callbacks are delivered on the main thread.
Members
Functions
on
Error
Link copied to clipboard
abstract
fun
onError
(
@
NonNull
poi
:
MapApi.CustomPoi.CustomPoiItem
,
@
NonNull
message
:
String
)
Called when the custom POI was plotted but a route to it could not be computed (e.g.
on
Route
Ready
Link copied to clipboard
abstract
fun
onRouteReady
(
@
NonNull
poi
:
MapApi.CustomPoi.CustomPoiItem
,
@
NonNull
route
:
Route
)
Called when the custom POI was plotted and a route to it was computed and drawn on the map.