Skip to content

Commit

Permalink
Merge pull request #8 from gianlu33/fix-rotation
Browse files Browse the repository at this point in the history
fix MarkerState rotation
  • Loading branch information
utsmannn authored Aug 8, 2024
2 parents b121b5e + b9c0cd1 commit cb7484d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Marker?> = mutableStateOf(null)

Expand Down

0 comments on commit cb7484d

Please sign in to comment.