MapView

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Sets the current location button’s icon according to the given style. Style represents either dark or light mode, and the corresponding icon will be set for that mode.

  • Method is used to customize the background style of a current location button based on the user interface style and the provided background color. This method allows you to set the appearance of the button to match the chosen style and color.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
  • The setCurrentLocationButton(size:) method sets the size of the current location button to the specified CGSize.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

Compass Button

  • The method is used to customize the icon (image) of a compass button based on the user interface style. This method provides the flexibility to set different compass icons for light and dark interface styles.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
  • The method allows you to customize the icon (image) representing the North-Up orientation of a compass button based on the user interface style. This method provides flexibility in setting different North-Up icons for light and dark interface styles.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
  • The method is used to customize the background style of a compass button based on the user interface style and the provided background color. This method allows you to set the appearance of the button to match the chosen style and color.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
  • The method is used to customize the size of a compass button within your user interface. This method provides the flexibility to adjust the button’s dimensions, allowing you to control its width and height according to your design requirements.

    Important

    This is a Public Preview API. It may be changed or removed at any time.