Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[Android] Set MarkerViewOptions Rotation as Float-Value #5241

Closed

Description

@Schumi09

Platform:
Android
Mapbox SDK version:
4.1.0-Snapshot

Expected behavior

Setting the MarkerViews's roation as float via MarkerViewOptions
markerViewOptions.rotation(42.42f)

Actual behavior

It takes an integer, however the calculations behind are in float anyway and you could set the rotation as float by applying map.addMarker(markerViewOptions).setRotation(42.42f); I guess this should be consistent.

Activity

  1. added
    Android
    annotations
    on Jun 5, 2016
  2. tobrun commented on Jun 6, 2016

    @tobrun
    Member

    This should indeed be float, great catch @Schumi09

  3. added this to the android-v4.1.0 milestone on Jun 6, 2016
  4. tobrun commented on Jun 6, 2016

    @tobrun
    Member

    Merged with #5251 onto release-v.4.1.0 branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Androidannotations

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions