Skip to content

Commit 40481e4

Browse files
authored
fix(v11): default to ignoreCameraPadding with view anntoations to have the v10 behaviour (#3667)
1 parent 7f48bae commit 40481e4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ prepare_react_native_project!
1010

1111
$RNMapboxMapsImpl = 'mapbox'
1212
if ENV['RNMBX11']
13-
$RNMapboxMapsVersion = '= 11.4.0'
13+
$RNMapboxMapsVersion = '= 11.7.0'
1414
end
1515

1616
if ENV['CI_MAP_IMPL']

ios/RNMBX/RNMBXMarkerView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ public class RNMBXMarkerView: UIView, RNMBXMapComponent {
229229
)
230230
#if RNMBX_11
231231
options.allowOverlapWithPuck = allowOverlapWithPuck
232+
options.ignoreCameraPadding = true
232233
#endif
233234
return options
234235
}

0 commit comments

Comments
 (0)