Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flyto on iPhone broken recently #8716

Closed
dieterdreist opened this issue Sep 2, 2019 · 3 comments
Closed

flyto on iPhone broken recently #8716

dieterdreist opened this issue Sep 2, 2019 · 3 comments
Labels

Comments

@dieterdreist
Copy link

mapbox-gl-js version: recent versions including v1.3.0

browser:
mobile safari

Steps to Trigger Behavior

var CameraTransform = map.cameraForBounds(bb, { padding: padding });
CameraTransform.bearing = 0;
CameraTransform.pitch = 0;
CameraTransform.curve = 1.4;
CameraTransform.speed = 0.5;

map.flyTo(CameraTransform, { geolocateSource: true });

  1. the above code used to work (just tested my code with the v0.52.0 version and the same code works without modifications on iPhone), but is now broken since a few versions. No error is thrown, but rather than performing a flyTo, the map jumps.
    This only happens on iPhone, different browsers work as expected.

Link to Demonstration

https://jsbin.com/

Expected Behavior

Actual Behavior

@kkaefer
Copy link
Member

kkaefer commented Sep 2, 2019

Could you please update the demo link with the correct URL?

@mourner
Copy link
Member

mourner commented Sep 2, 2019

Likely the same issue as #8648 (comment)

@mourner mourner closed this as completed Sep 2, 2019
@dieterdreist
Copy link
Author

You are correct, turning off the accessibility feature for „reduce the motion of the user interface including the parallax effect of icons“, it works like before. Is there a way to ignore the setting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants