Fixed
Status Update
Comments
br...@google.com <br...@google.com> #2
This sounds like a bug. Can you put together a reproduction sample on github? Once I have a repro case engineering will have a look at it. Thanks!
br...@google.com <br...@google.com> #3
i have the same issue with 1.13.0, when using the GMSMapViewDelegate - (UIView *)mapView:(GMSMapView *)mapView markerInfoWindow:(GMSMarker *)marker returning a custom UIView.
gg...@lyft.com <gg...@lyft.com> #4
dg@ could you please post a repro case to github, I'm interested to see a full working sample. Thanks!
br...@google.com <br...@google.com> #5
The below git repo contains the code that the issue occurs.
Note that If I reverse the Google Map API version to 1.12.3, the code works fine.
https://github.com/benba5/IssueGoogleMap1.13.0
Thank you very much
^__^
Note that If I reverse the Google Map API version to 1.12.3, the code works fine.
Thank you very much
^__^
gg...@gmail.com <gg...@gmail.com> #6
Thanks for the repro benlbenl5!
br...@google.com <br...@google.com> #7
We have a work around for this issue. Add the following code to the custom info window:
override func didMoveToSuperview() {
superview?.autoresizesSubviews = false;
}
override func didMoveToSuperview() {
superview?.autoresizesSubviews = false;
}
br...@google.com <br...@google.com> #8
Version 1.11.0: Workaround issues with core animation that caused markers to jump.
Description
We want to animate from A to C, but partway through we decide we want to animate to D instead. Our pseudocode looks as follows:
let marker = GMSMarker(position: A)
CATransaction.setAnimationDuration(10)
marker.position = C
delay(5) {
// At this point, the marker is near position B
CATransaction.setAnimationDuration(10)
marker.position = D
}
Expected behavior: The previous animation is cancelled, and the marker should be animated from wherever it is now (near B) to D over 10 seconds.
Actual behavior: The marker briefly flashes at position C, but then flashes back to B and then animates to D as expected.
Operating system version: iOS 8.4
Google Maps SDK for iOS version: 1.10.1
Hardware model: iPhone 6 + iOS Simulator (any device)