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.

[ios] Scalebar position and size is incorrect #13873

@julianrex

Description

@julianrex

#13556 introduced new ornament placement, which unfortunately has affected the position and size of the MGLScaleBar.

#13870 proposes reverting the PR until this can be fixed, but this ticket should be used to document the specific issues.

Zooming in/out changes the position and width of the scale bar, as does rotating the device.

scalebar

Looking in the view debugger you can see width and height constraints, but none for the position (it looks like size is handled by the "intrinsic content size" - so perhaps this is changing?). Looking in the debugger where the constraints are installed - you do see them listed in the parent view.

screen shot 2019-02-04 at 9 54 27 pm

/cc @chloekraw @chriswu42

Metadata

Metadata

Assignees

Labels

bugiOSMapbox Maps SDK for iOS

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions