com.hedgehog.gdzietabiedra.appservice.map / MapProvider
MapProvider
interface MapProvider (source)
Interface that hides implementation of concrete maps provider, allows easy switch from Google Maps to OpenMaps etc.
Functions
| Name | Summary |
|---|---|
| clearMap | abstract fun clearMap(): Unit |
| drawMarker | abstract fun drawMarker(point: ShopMarker, showInfo: Boolean): Unit |
| drawMarkers | abstract fun drawMarkers(points: Collection<ShopMarker>): Unit |
| goToPosition | abstract fun goToPosition(position: Position, mapZoom: MapZoom = MEDIUM): Unit |
| mapClicked | abstract fun mapClicked(): Observable<Any> |
| mapMoved | abstract fun mapMoved(): Observable<Position> |
| readMapPosition | abstract fun readMapPosition(): Position |
| selectShop | abstract fun selectShop(shop: Shop): Completable |
| shopMarkerClicked | abstract fun shopMarkerClicked(): Observable<ShopMarker> |
Inheritors
| Name | Summary |
|---|---|
| GoogleMapProvider | class GoogleMapProvider : MapProviderMap provider build around GoogleMap |