Releases: nitaliano/react-native-mapbox-gl
Releases · nitaliano/react-native-mapbox-gl
React Native Mapbox GL Release 6.1.1
Bugfixes
- [iOS] Better
Mapbox.framework
detection and also fixes issues withyarn add
andyarn remove
#1151 - [All] Fixes user defined hitbox on
VectorSource
andShapeSource
not being respected #1142
Features
- [ALL] Adds support for resolving style values for users so instead of
MapboxGL.LineJoin.Round
users can just specifyround
#1119 - [Android] Fixes onWillStartLoadingMap not being called #1105
- [Android] First set of fixes to help add support for
onRegionWillChange
to behave more like iOS, there still needs more work to be done, but the event at least fires sometimes correctly now #1132 - [All] Exposes
setTelemetryEnabled
andisTelemetryEnabled
#1096 - [All] Adds support for locale map labeling #1038
- [JS] Formatted whole JS codebase #1118
- [JS] Added support for
prettier
,lint-staged
, andhusky
#931 - [README] Add developer group to README #1101
Breaking Changes
None
React Native Mapbox GL Release 6.1.0
Bugfixes
- [Android] Fixes ANR when calling
onDestroy
after the MapView has been removed #1033 - [iOS] Fixes random crash with remote images on a symbol layer, with style url changes #1080
- [All] Fixes timing issue that would cause map to randomly overflow parent container #1027
- [Android] Fixes filter not being supplied to
Layer
when switching between style urls #1040
Features
- Adds support for
onUserLocationUpdate
#1011
Breaking Changes
- [Android] Changes the default MapView to a
TextureView
instead of aGLSurfaceView
.textureMode
no longer exists as a map prop due to this change, we've added asurfaceView
prop if you would like to use aGLSurfaceView
#1090
React Native Mapbox GL Release 6.0.3
Bugfixes
- [Android] Fixes
contentInset
not behaving the same way that iOS behaved #849 - [Android] Fixes map view not being drawn on Oreo #1019
- [All] Fixes
offlineManager.getPacks
crash #949 - [iOS] Fixes SymbolLayer randomly crashing when using
iconImage
#920 - [Android] Fixes fitBounds/setCamera not applying padding correctly #876
- [iOS] Fixes Symbol layer icons randomly not being loaded #918
- [Docs] Update
attributionEnabled
docs to describe why you should or should not disable this options #898
Features
- [All] Added
mapView.getCenter
support #1030 - [All] Added
mapView.getZoom
support #938 - [All] Added
MapboxGL.snapshotManager
andmapView.takeSnapshot
support #818 - [All] Added support for
userLocationVerticalAlignment
#881 - [All] Added support for
onUserTrackingModeChanged
#881 - [Android] Updated user tracking to behave more similar to the iOS SDK #881
Breaking Changes
- [Android] Due to update to a more cross platform approach user location and user tracking modes will behavior more similar to iOS
React Native Mapbox GL Release 6.0.2
Bugfixes
- [Android] - Fixes MapView being hard to scroll inside ScrollView #861
- [Android] - Debounces region change event and fires on camera idle #867
- [All] - Updates layer visibility to now match style spec #846
- [All] - Fixes non-integer style key crashes #846
- [All] - Updated default fitBounds parameters #758
- [Android] - Fixes active marker id not being reset, when marker is removed from map #852
- [Android] - Prevents deselect handler from being called if annotation does not have callout #852
- [Android] - Overrides
onMeasure
in RCTMGLPointAnnotation to prevent catalyst view dimension crashes #852 - [Android] - Updates MapView child view insertion order #852
Features
- [All] - Adds more information to offline pack #836
- [All] - Adds status method for offline packs #836
- [iOS] - Update native SDK to 3.7.0 #816
- [Android] - Update native SDK to 5.2.1 #871
- [All] - Adds user initiated flag to region change events #697
- [All] - Updates all
*Translate
style props to support an array[x, y]
#846 - [All] - Added data driven circle example #846
- [All] - Added choropleth map example #846
- [All] - Updated stylesheet style functions to be array based #846
- [Android] - Adds TextureView support #858
- [All] - Added new style props from agua release #819
- [All] - Adds ImageSource support #817
Breaking Changes
None
Merge pull request #783 from mapbox/release/6.0.1
Bugfixes
- [All] Fixes filtering issues #706
- [iOS] Fixes taps from Callouts bubbling event to MapView #726
- [Android] Adds permission check before attempting to render user location #768
- [Android] Fixes cases where annotations might not be visible #711
- [All] Fixes PointAnnotation not updating coordinate #750
- [All] Fixes ordering of AnnotationViews on Map #728
- [iOS] Fixes features not being returned if layerIDs are not passed when querying the map #701
- [JS] Fixes peerDep warning #759
Features
- Adds ability to dynamically change the styleURL and re-add all sources and layers to new style object #736
- Adds zoomEnabled property to MapView #745
- Adds onPress support to VectorSource and ShapeSource components #793
- Adds CocoaPods support #741
Breaking Changes
None
3.2.1
3.2.0
2.1.1
1.1.0
Android, polylines and polygons
This is a breaking change release
- Adds support for Android #97
- Adds support for polylines and polygons on both platforms #95
- The
annotations
object has change:- Either
point
,polyline
orpolygon
is required. - Removed
latitude
andlongitude
and replaced withcoordinates
. For point this a single array. For polylines and polygons, this an array of arrays.
- Either