Skip to content

Releases: nitaliano/react-native-mapbox-gl

React Native Mapbox GL Release 6.1.1

06 Apr 23:17
Compare
Choose a tag to compare

Bugfixes

  • [iOS] Better Mapbox.framework detection and also fixes issues with yarn add and yarn remove #1151
  • [All] Fixes user defined hitbox on VectorSource and ShapeSource not being respected #1142

Features

  • [ALL] Adds support for resolving style values for users so instead of MapboxGL.LineJoin.Round users can just specify round #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 and isTelemetryEnabled #1096
  • [All] Adds support for locale map labeling #1038
  • [JS] Formatted whole JS codebase #1118
  • [JS] Added support for prettier, lint-staged, and husky #931
  • [README] Add developer group to README #1101

Breaking Changes

None

React Native Mapbox GL Release 6.1.0

05 Mar 19:43
e712983
Compare
Choose a tag to compare

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 a GLSurfaceView. textureMode no longer exists as a map prop due to this change, we've added a surfaceView prop if you would like to use a GLSurfaceView #1090

React Native Mapbox GL Release 6.0.3

16 Feb 21:16
7539071
Compare
Choose a tag to compare

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 and mapView.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

20 Dec 20:46
Compare
Choose a tag to compare

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

28 Nov 22:15
81ac5f3
Compare
Choose a tag to compare

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

09 Feb 05:28
Compare
Choose a tag to compare
3.2.1 changelog

3.2.0

04 Feb 02:52
Compare
Choose a tag to compare

2.1.1

05 Dec 23:06
Compare
Choose a tag to compare
Update package.json

1.1.0

31 Oct 17:42
Compare
Choose a tag to compare
Merge branch 'master' of https://github.com/mapbox/react-native-mapbo…

Android, polylines and polygons

16 Oct 00:34
Compare
Choose a tag to compare
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 or polygon is required.
    • Removed latitude and longitude and replaced with coordinates. For point this a single array. For polylines and polygons, this an array of arrays.

Known issues

  • [Android] Popups do not open when clicked #102
  • [Android] showsUserLocation shows users location fixed in upper left corner #103