Skip to content

Releases: mapbox/mapbox-plugins-android

MarkerViewPlugin v0.1.0

12 Sep 18:16
Compare
Choose a tag to compare

Initial release! 🎉

AnnotationPlugin v0.1.0

12 Sep 18:17
Compare
Choose a tag to compare

Initial release! 🎉

LocationLayerPlugin v0.8.1

04 Sep 13:17
4970332
Compare
Choose a tag to compare

Changelog

  • Prevent from showing the location layer on every location update #641

LocationLayerPlugin v0.8.0

31 Aug 16:48
Compare
Choose a tag to compare

Release Notes

New APIs 🚀

  • We added a CompassEngine interface that you can implement and then pass to the LocationLayerPlugin via LocationLayerPlugin#setCompassEngine. This enables you provide custom bearing data when the plugin is in compass modes.
  • A new constructor was added for providing LocationLayerOptions without a LocationEngine. Thanks @langsmith! ❤️
LocationLayerPlugin locationLayerPlugin = new LocationLayerPlugin(mapView, mapboxMap, options);
  • We added a LocationLayerOption to specify a “below layer”, which will allow you to place the plugin visually within your map with regard to layers. For example, if you wanted the plugin icon to show underneath road or street labels.
LocationLayerOptions options = LocationLayerOptions.builder(this)
  .layerBelow("waterway-label")
  .build();

Bugs squashed 🐛

  • We added fallback sensors for devices without gyroscopes, so the plugin will still provide bearing data in compass modes. Thanks @niihelium! 👍🏼
  • We fixed a leak that was occurring when the plugin was used in a Fragment.
  • We also added a suite of unit tests for 3 of the most crucial classes driving the plugin, in addition to our existing suite of instrumentation tests.

Changelog

  • Remove auto value #633
  • Fix LocationLayerPlugin's leaks when used in a fragment #636
  • Add getter and setter for CompassEngine interface #626
  • Add fallback compass sensors for devices without a gyroscope #627
  • Add LocationLayer unit tests #631
  • Adding new location layer plugin constructor for options and default engine #618
  • Remove unused LiveData dependency for LocationLayerPlugin #632
  • Allow adding location layer plugin below a certain layer #628
  • PluginAnimatorCoordinator unit tests #630
  • When camera is in a tracking mode, animate instead of snapping on the first location fix #620
  • Add unit tests for LocationLayerCamera #629
  • Expose bearing compass accuracy #625

LocationLayerPlugin v0.7.2

22 Aug 14:20
Compare
Choose a tag to compare

Changelog

  • Maps SDK bump to 6.4.0 #615

LocationLayerPlugin v0.7.1

26 Jul 20:01
Compare
Choose a tag to compare

Release Notes

Bugs squashed 🐛

  • Fixes issue with internal AndroidLocationEngine being activated upon startup on the plugin.

Changelog

  • Request location updates for AndroidLocationEngine #602

LocationLayerPlugin v0.7.0

20 Jul 16:48
Compare
Choose a tag to compare

Release note

Features

Version 0.7.0 of the LocationLayerPlugin adds additional methods that allow manipulating the camera while any of the camera modes, besides CameraMode#NONE, is engaged.

  • Use LocationLayerPlugin#zoomWhileTracking to zoom in/out the camera.
  • Use LocationLayerPlugin#tiltWhileTracking to tilt the camera.

Changelog

  • Additional methods to tilt and zoom in/out the camera while camera tracking is engaged #583
  • Fixed wrong focal point persisting when camera modes are changed quickly #583
  • Update ProGuard to support built-in shrinker of Gradle Plugin #582
  • Break camera tracking on fling #587
  • Maps SDK bump to 6.3.0 #585
  • Fixed memory leak when using the mapbox-plugins #570
  • Always make plugin visible in location start when enabled #592
  • Check if the layer is hidden when setting render mode #594
  • Adjust camera based on the camera mode when plugin enabled #596

LocationLayerPlugin v0.6.0

09 Jul 18:53
Compare
Choose a tag to compare

Release Notes

Features 🚀

  • Options to adjust scale of the icon being shown. Prior to this release, developers were not able to adjust the scaling of the icon shown on the map. With #543, you are now able to do so via LocationLayerOptions.
  • With #574, options to display images that have already been added to the MapboxMap provided to the plugin or maki-icons that are provided by the style already loaded into the map.

Bugs squashed 🐛

  • Tests and bugs fixes for re-loading map styles while the plugin is being used.
  • Accuracy ring fixed for forced locations #572 and animation of the ring fixed in #577

Changelog

  • Animate accuracy ring when new value is provided #577
  • Allow pre-loaded MapboxMap images / maki icons in LocationLayerOptions #574
  • Showing accuracy for forced location #572
  • Update LocationLayerPlugin's readme examples #571
  • Harden style changes #568
  • Map zoom range docs #565
  • 6.2.1 maps sdk bump #562
  • Maps sdk bump to 6.2.0 #559
  • Update dependencies #548
  • Harden state and style changes #545
  • Expose icon scale option #543

Location Layer v0.5.3

30 May 15:09
3810f6d
Compare
Choose a tag to compare
  • Adds a constructor which doesn't take in a locationEngine and sets up an internal engine instead #527
  • Remove and readd onMapChange in onStart/onStop #403
  • Sets initial value to infinity to prevent puck showing at nullisland #516
  • Use enable/disable methods in onStop and onStart to toggle isEnabled boolean #528
  • Don’t update stale state if it’s not enabled in options #525
  • Fixes accuracy circle layer not setting color correctly #526
  • Updated Map SDK to 6.1.3 #531

Cluster v0.4.0

30 May 15:22
3810f6d
Compare
Choose a tag to compare
  • Deprecated Plugin #534
  • Updates the Map SDK to 6.1.3 #531