Disable map tilt and rotate interactions (#1373)
This commit is contained in:
@@ -96,6 +96,8 @@ struct MapLibreMapView: UIViewRepresentable {
|
||||
mapView.attributionButtonPosition = .topLeft
|
||||
mapView.attributionButtonMargins = .init(x: mapView.logoView.frame.maxX + 8, y: mapView.logoView.center.y / 2)
|
||||
mapView.tintColor = .black
|
||||
mapView.allowsRotating = false
|
||||
mapView.allowsTilting = false
|
||||
return mapView
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user