mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
implement annotation animations in MapLibreMapView
This commit is contained in:
@@ -13,7 +13,8 @@ import SwiftUI
|
||||
|
||||
final class LocationAnnotation: NSObject, MLNAnnotation, Identifiable {
|
||||
let id: String
|
||||
var coordinate: CLLocationCoordinate2D
|
||||
// @objc dynamic is required to make animations work
|
||||
@objc dynamic var coordinate: CLLocationCoordinate2D
|
||||
var kind: LocationMarkerKind
|
||||
|
||||
// MARK: - Setup
|
||||
|
||||
Reference in New Issue
Block a user