Skip to content

Commit

Permalink
Revert "Fix the location manager being nil after Swiftui view update." (
Browse files Browse the repository at this point in the history
maplibre#59)

* Revert "Fix the location manager being nil after Swiftui view update. (maplibre#57)"

This reverts commit a6e079c.

* Update CHANGELOG.md

---------

Co-authored-by: Ian Wagner <[email protected]>
  • Loading branch information
engali94 and ianthetechie authored Nov 11, 2024
1 parent a6e079c commit c406d80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).



## Version 0.3.2 - 2024-11-11

### Fixed

- Reverts changes in 0.3.1; they were ultimately unnecessary and introduced a new bug, stopping location updates.

## Version 0.3.1 - 2024-10-17

### Fixed
Expand Down
1 change: 0 additions & 1 deletion Sources/MapLibreSwiftUI/MapView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ public struct MapView<T: MapViewHostViewController>: UIViewControllerRepresentab
camera: camera,
animated: isStyleLoaded)
}
uiViewController.mapView.locationManager = locationManager
}

@MainActor private func applyModifiers(_ mapViewController: T, runUnsafe: Bool) {
Expand Down

0 comments on commit c406d80

Please sign in to comment.