Fixed
Status Update
Comments
br...@google.com <br...@google.com>
br...@google.com <br...@google.com> #2
ma...@lyft.com <ma...@lyft.com> #3
Can you please supply a short reproduction case? I can't quite see how to reproduce the issue you are seeing, and I have to be able to reproduce it to get engineering to fix it. Thanks!
ma...@lyft.com <ma...@lyft.com> #4
Sure,
1. A simple viewController is shown to the user
2. The user selects an image from the device gallery
2. The South West and North East coordinate bounds are indicated.
3. The rotation is also set
4. The code below is used to show the selected image on the map with rotation.
override func showImageOnMap() {
var southWest = CLLocationCoordinate2DMake(40.712216,-74.22655);
var northEast = CLLocationCoordinate2DMake(40.773941,-74.12544);
var overlayBounds = GMSCoordinateBounds(coordinate: southWest, coordinate: northEast)
// Image from Gallery. The image to be shown is taken from the device gallery
// This short example does not show the procedure to take the image from the
// gallery
var icon = UIImageFromGallery()
var overlay = GMSGroundOverlay(bounds: overlayBounds, icon: icon)
mapView.clear()
overlay.bearing = 47.554
overlay.map = mapView
}
The result is shown in Screenshot_iOS.png.
Let me also indicate that I follow the same procedure in a Android device (using Android API) and the result is the expected one as it is shown in the image attached (Screenshot_Android.png). The image is correctly rotated keeping the relation aspect. Comparing the two screenshots, you can see the effect I am indicating in this issue.
Let me know if you require more information to reproduce the issue
1. A simple viewController is shown to the user
2. The user selects an image from the device gallery
2. The South West and North East coordinate bounds are indicated.
3. The rotation is also set
4. The code below is used to show the selected image on the map with rotation.
override func showImageOnMap() {
var southWest = CLLocationCoordinate2DMake(40.712216,-74.22655);
var northEast = CLLocationCoordinate2DMake(40.773941,-74.12544);
var overlayBounds = GMSCoordinateBounds(coordinate: southWest, coordinate: northEast)
// Image from Gallery. The image to be shown is taken from the device gallery
// This short example does not show the procedure to take the image from the
// gallery
var icon = UIImageFromGallery()
var overlay = GMSGroundOverlay(bounds: overlayBounds, icon: icon)
mapView.clear()
overlay.bearing = 47.554
overlay.map = mapView
}
The result is shown in Screenshot_iOS.png.
Let me also indicate that I follow the same procedure in a Android device (using Android API) and the result is the expected one as it is shown in the image attached (Screenshot_Android.png). The image is correctly rotated keeping the relation aspect. Comparing the two screenshots, you can see the effect I am indicating in this issue.
Let me know if you require more information to reproduce the issue
br...@google.com <br...@google.com>
br...@google.com <br...@google.com> #5
I'm attempting to replicate this issue given your sample code, but I'm not seeing it.
I've put up my repro code athttps://github.com/domesticmouse/DistortedGMSGroundOverlay
Please modify this sample until you get the distortion, and then create a Pull Request back to me.
Thanks!
I've put up my repro code at
Please modify this sample until you get the distortion, and then create a Pull Request back to me.
Thanks!
Description
demonstration page if at all possible, or attach code.
1. Add GMSMapView()
2. Pan the map while you rotate the device
3. idleAtCameraPosition is only called once the device is steady.
Operating system version:
Google Maps SDK for iOS version: 1.9.2
Hardware model: iOS 8.1
*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************