sdk-maps-rx-extensions / com.tomtom.online.sdk.map.rx / RxTomtomMap

RxTomtomMap

open class RxTomtomMap : RxMapCallbacksExtension, RxMapAnnotationsExtension

Implementation for Tomtom map RX extensions. Extensions can be used instead of callbacks. To use this class you need to have TomtomMap initialized.

Constructors

<init>

RxTomtomMap(tomtomMap: TomtomMap)

Constructor to create rx extensions class.

Functions

createObservable

open fun <T : Any!> createObservable(subscriber: ObservableOnSubscribe<T>!): Observable<T>!

getOnDoubleClickObservable

open fun getOnDoubleClickObservable(): Observable<LatLng!>!

getOnMapClickObservable

open fun getOnMapClickObservable(): Observable<LatLng!>!

getOnMapLongClickObservable

open fun getOnMapLongClickObservable(): Observable<LatLng!>!

getOnMapRotateObservable

open fun getOnMapRotateObservable(): Observable<Double!>!

getOnMapViewPortChangedObservable

open fun getOnMapViewPortChangedObservable(): Observable<MapViewPort!>!

getOnMarkerClickObservable

open fun getOnMarkerClickObservable(): Observable<Marker!>!

getOnRouteClickObservable

open fun getOnRouteClickObservable(): Observable<Route!>!

setObserveScheduler

open fun setObserveScheduler(observeScheduler: Scheduler!): Unit

setSubscriberScheduler

open fun setSubscriberScheduler(subscriber: Scheduler!): Unit