refactor
This commit is contained in:
parent
0417ca3e67
commit
0f96243ee4
|
|
@ -22,9 +22,8 @@ import com.yandex.runtime.image.ImageProvider
|
|||
import ru.touchin.basemap.AbstractMapManager
|
||||
|
||||
@Suppress("detekt.TooManyFunctions")
|
||||
class YandexMapManager(
|
||||
mapView: MapView,
|
||||
private val onUserLocationAdded: (() -> Unit)? = null
|
||||
open class YandexMapManager(
|
||||
mapView: MapView
|
||||
) : AbstractMapManager<MapView, Map, Point>(mapView), MapLoadedListener, CameraListener, InputListener, UserLocationObjectListener {
|
||||
|
||||
companion object {
|
||||
|
|
@ -159,8 +158,6 @@ class YandexMapManager(
|
|||
view.pin.setIcon(imageProvider)
|
||||
}
|
||||
userLocationAccuracyCirceColor?.let(view.accuracyCircle::setFillColor)
|
||||
|
||||
onUserLocationAdded?.invoke()
|
||||
}
|
||||
|
||||
override fun onObjectUpdated(view: UserLocationView, event: ObjectEvent) = Unit
|
||||
|
|
|
|||
Loading…
Reference in New Issue