Skip to content

Commit

Permalink
fix(v11): default to ignoreCameraPadding with view anntoations to hav…
Browse files Browse the repository at this point in the history
…e the v10 behaviour (#3667)
  • Loading branch information
mfazekas authored Oct 28, 2024
1 parent 7f48bae commit 40481e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
1 change: 1 addition & 0 deletions ios/RNMBX/RNMBXMarkerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ public class RNMBXMarkerView: UIView, RNMBXMapComponent {
)
#if RNMBX_11
options.allowOverlapWithPuck = allowOverlapWithPuck
options.ignoreCameraPadding = true
#endif
return options
}
Expand Down

0 comments on commit 40481e4

Please sign in to comment.