diff --git a/osm-compose/src/main/java/com/utsman/osmandcompose/MarkerState.kt b/osm-compose/src/main/java/com/utsman/osmandcompose/MarkerState.kt index 284636e..04f8abb 100644 --- a/osm-compose/src/main/java/com/utsman/osmandcompose/MarkerState.kt +++ b/osm-compose/src/main/java/com/utsman/osmandcompose/MarkerState.kt @@ -12,7 +12,7 @@ import org.osmdroid.views.overlay.Marker class MarkerState(geoPoint: GeoPoint = GeoPoint(0.0, 0.0), rotation: Float = 0f) { var geoPoint: GeoPoint by mutableStateOf(geoPoint) - var rotation: Float by mutableStateOf(0f) + var rotation: Float by mutableStateOf(rotation) private val markerState: MutableState = mutableStateOf(null)