From 40481e468679cce6dc36917aca5823e1957657ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikl=C3=B3s=20Fazekas?= Date: Mon, 28 Oct 2024 07:03:33 +0100 Subject: [PATCH] fix(v11): default to ignoreCameraPadding with view anntoations to have the v10 behaviour (#3667) --- example/ios/Podfile | 2 +- ios/RNMBX/RNMBXMarkerView.swift | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/example/ios/Podfile b/example/ios/Podfile index 650241791..8aecedfb7 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -10,7 +10,7 @@ prepare_react_native_project! $RNMapboxMapsImpl = 'mapbox' if ENV['RNMBX11'] - $RNMapboxMapsVersion = '= 11.4.0' + $RNMapboxMapsVersion = '= 11.7.0' end if ENV['CI_MAP_IMPL'] diff --git a/ios/RNMBX/RNMBXMarkerView.swift b/ios/RNMBX/RNMBXMarkerView.swift index d168f1241..3998d23e2 100644 --- a/ios/RNMBX/RNMBXMarkerView.swift +++ b/ios/RNMBX/RNMBXMarkerView.swift @@ -229,6 +229,7 @@ public class RNMBXMarkerView: UIView, RNMBXMapComponent { ) #if RNMBX_11 options.allowOverlapWithPuck = allowOverlapWithPuck + options.ignoreCameraPadding = true #endif return options }