You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 9, 2018. It is now read-only.
I'm experiencing an issue with the precision of zoomWithLatitudeLongitudeBoundsSouthWest. As you can see below, my map start with a bounding box of (12.965657,-49.285990 66.833126,28.444060) and when I call zoom to current, there are an unexpected latitude change.
My current use-case is to save a bounding box to retrieve later. This is the simplest code to explain the problem.
I have a similar issue, but only when using with devices that do not have HD retina display (anything before iPhone 6).
The code is quite basic:
override func viewWillAppear(animated: Bool) {
//stuff...
//this works on iPhone 6 and 6 Plus, but not on other phones
mapView.zoomWithLatitudeLongitudeBoundsSouthWest(CLLocationCoordinate2DMake(sw_latitude,sw_longitude), northEast: CLLocationCoordinate2DMake(ne_latitude, ne_longitude), animated: true)
}
I make a similar call outside of viewWillAppear and it works fine across all devices.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I'm experiencing an issue with the precision of zoomWithLatitudeLongitudeBoundsSouthWest. As you can see below, my map start with a bounding box of (12.965657,-49.285990 66.833126,28.444060) and when I call zoom to current, there are an unexpected latitude change.
My current use-case is to save a bounding box to retrieve later. This is the simplest code to explain the problem.
Do you have any ideas?
Thanks
The text was updated successfully, but these errors were encountered: