Skip to content

0.26.0 Migration Guide

Pablo Guardiola edited this page Dec 21, 2018 · 1 revision

PRs that broke SEMVER:


NavigationView#updateWaynameView(String wayname) was replaced with updateWayNameView(@NonNull String wayName). Note: If you'd like to use this method without being overridden by the default visibility values we provide, please disabled auto-query with NavigationMapboxMap#updateWaynameQueryMap(boolean)

This changes the public API naming into a more accurate nomenclature (wayname it's not a valid word) which is mixed across the codebase. Making it easier to use, more intuitive and consistent with the rest of the code.

Old:

public void updateWaynameView(String wayname)

New:

public void updateWayNameView(@NonNull String wayName)

NavigationView#updateWaynameVisibility(boolean isVisible) was replaced with updateWayNameVisibility(boolean isVisible). Note: If you'd like to use this method without being overridden by the default visibility values we provide, please disabled auto-query with NavigationMapboxMap#updateWaynameQueryMap(boolean)

This changes the public API naming into a _more accurate nomenclature (wayname it's not a valid word) which is mixed across the codebase. Making it easier to use, more intuitive and consistent with the rest of the code.

Old:

public void updateWaynameVisibility(boolean isVisible)

New:

public void updateWayNameVisibility(boolean isVisible)

NavigationView#updateWaynameQueryMap(boolean isEnabled) was removed. This is not needed anymore because this functionality is handled internally by other methods and as noted above if you'd like to override the default visibility values we provide, you can still do it with NavigationMapboxMap#updateWaynameQueryMap(boolean)

Clone this wiki locally