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

[core] Make TransformState LatLngBounds optional #9156

Merged
merged 1 commit into from
Jun 1, 2017

Conversation

brunoabinader
Copy link
Member

Have TransformState bounds empty by default - bypassing the boundary check if not present in TransformState::setLatLngBounds. This was causing issues when e.g. panning over the dateline.

Fixes #8951.

/cc @friedbunny - can you please verify this on iOS?

@brunoabinader brunoabinader added bug Core The cross-platform C++ core, aka mbgl labels May 31, 2017
@friedbunny
Copy link
Contributor

I can confirm that this fixes #8951 on iOS — thanks for the super-quick turnaround. 💟

Copy link
Contributor

@friedbunny friedbunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solves the issue on iOS (didn’t do a code review). 👍

@brunoabinader brunoabinader merged commit 99cfbac into master Jun 1, 2017
@brunoabinader brunoabinader deleted the latlngbounds-optional branch June 1, 2017 14:04
@boundsj boundsj added this to the ios-v3.6.0 milestone Jun 1, 2017
@boundsj
Copy link
Contributor

boundsj commented Jun 1, 2017

Tracking this to cherry pick into the release-ios-v3.6.0-android-v5.1.0 release branch.

cc @fabian-guerra

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Core The cross-platform C++ core, aka mbgl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants