Skip to content

Commit

Permalink
chore: upgrade mapbox v11 to final version
Browse files Browse the repository at this point in the history
  • Loading branch information
mfazekas committed Nov 29, 2023
1 parent 73272d4 commit 953ae1b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {

if (project.hasProperty('RNMBX11') && project.getProperty('RNMBX11').toBoolean()) {
RNMapboxMapsUseV11 = true
RNMapboxMapsVersion = '11.0.0-rc.2'
RNMapboxMapsVersion = '11.0.0'
}

useCustomMapbox = false
Expand All @@ -16,7 +16,7 @@ buildscript {
kotlinVersion = '1.6.21'
} else if (System.getenv('CI_MAP_IMPL').equals('mapbox11')) {
RNMapboxMapsUseV11 = true
RNMapboxMapsVersion = '11.0.0-rc.2'
RNMapboxMapsVersion = '11.0.0'
RNMapboxMapsImpl = "mapbox"
}

Expand Down
4 changes: 2 additions & 2 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ prepare_react_native_project!
$RNMapboxMapsImpl = 'mapbox'
if ENV['RNMBX11']
$RNMapboxMapsUseV11 = true # use 11 version
$RNMapboxMapsVersion = '= 11.0.0-rc.2'
$RNMapboxMapsVersion = '= 11.0.0'
end

if ENV['CI_MAP_IMPL']
Expand All @@ -22,7 +22,7 @@ if ENV['CI_MAP_IMPL']
when 'mapbox11'
$RNMapboxMapsImpl = 'mapbox'
$RNMapboxMapsUseV11 = true # use 11 version
$RNMapboxMapsVersion = '= 11.0.0-rc.2'
$RNMapboxMapsVersion = '= 11.0.0'
else
fail "Invalid CI_MAP_IMPL value: #{ENV['CI_MAP_IMPL']}"
end
Expand Down
2 changes: 1 addition & 1 deletion src/components/Viewport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type FollowPuckOptions = {
* - number: sets the camera bearing to the constant value on every frame
*
* On Android, 'heading' and 'coruse' sets the camera bearing to the same as the location puck's bearing. See
* [syncWithLocationPuck](https://docs.mapbox.com/android/maps/api/11.0.0-rc.1/mapbox-maps-android/com.mapbox.maps.plugin.viewport.data/-follow-puck-viewport-state-bearing/-sync-with-location-puck/)
* [syncWithLocationPuck](https://docs.mapbox.com/android/maps/api/11.0.0/mapbox-maps-android/com.mapbox.maps.plugin.viewport.data/-follow-puck-viewport-state-bearing/-sync-with-location-puck/)
*
* @default 'heading'
*/
Expand Down

0 comments on commit 953ae1b

Please sign in to comment.