Tom Drummond
Tom Drummond
I've also written some tests.
The current `Annotation` protocol defines `userInfo` as [`[String: Any]?`](https://github.com/mapbox/mapbox-maps-ios/blob/7ff67c4ba02bc51069ae1ea3ba5f11962a64edbb/Sources/MapboxMaps/Annotations/AnnotationOrchestrator.swift#L13) This can encourage some subtle bugs: ```swift struct Polyline { var userInfo: [String: Any]? } // Assigning to nil var foo...
## New Feature The [MapEvents](https://github.com/mapbox/mapbox-maps-ios/blob/8e928e8d8076f7120decb20fa1bc273766d93e6d/Sources/MapboxMaps/Foundation/Extensions/Core/MapEvents.swift#L75=) file has a lot of documentation about the structure of the objects that are contained in `MBMEvent.data`. The documentation is excellent (although there are [occasional...
## New Feature I would like to propose adding an additional property to the `Layer` protocol to make it easier to determine layer visibility: ```swift var visibility: Value { get...
In iOS 16.* both `JSONEncoder` and `JSONSerialization.data(withJSONObject:)` would encode `Floats` and `Double` the same. The behaviour of `JSONEncoder` has changed in iOS 17 and is now not as compatible with...