mapbox-navigation-ios icon indicating copy to clipboard operation
mapbox-navigation-ios copied to clipboard

Improve `FloatingButton` styling.

Open MaximAlien opened this issue 2 years ago • 2 comments

Description

  • Remove shadow that is applied to FloatingButton to be aligned with other stylable views and to improve performance (shadow usage leads to such warning: The layer is using dynamic shadows which are expensive to render. If possible try setting 'shadowPath', or pre-rendering the shadow into an image and putting it under the layer.).

  • Add the ability apply type and cornerRadius while creating FloatingButton.

MaximAlien avatar Aug 09 '22 15:08 MaximAlien

Breaking Changes in MapboxNavigation

Breaking API Changes

FloatingButton

  • removed source.lang.swift.decl.function.method.class: rounded(image:selectedImage:size:) in FloatingButton

Breaking Changes in MapboxNavigation

Breaking API Changes

FloatingButton

  • removed source.lang.swift.decl.function.method.class: rounded(image:selectedImage:size:) in FloatingButton

Breaking Changes in MapboxNavigation

Breaking API Changes

FloatingButton

  • removed source.lang.swift.decl.function.method.class: rounded(image:selectedImage:size:) in FloatingButton

Breaking Changes in MapboxNavigation

Breaking API Changes

FloatingButton

  • removed source.lang.swift.decl.function.method.class: rounded(image:selectedImage:size:) in FloatingButton

Breaking Changes in MapboxNavigation

Breaking API Changes

FloatingButton

  • removed source.lang.swift.decl.function.method.class: rounded(image:selectedImage:size:) in FloatingButton

Breaking Changes in MapboxNavigation

Breaking API Changes

FloatingButton

  • removed source.lang.swift.decl.function.method.class: rounded(image:selectedImage:size:) in FloatingButton