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!
dg...@conit.ag <dg...@conit.ag> #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.
br...@google.com <br...@google.com> #4
dg@ could you please post a repro case to github, I'm interested to see a full working sample. Thanks!
be...@gmail.com <be...@gmail.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
^__^
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;
}
ph...@gmail.com <ph...@gmail.com> #9
Comment has been deleted.
be...@gmail.com <be...@gmail.com> #10
Thank you so much. It works.
However, I found the new problem which is the info window disappear unexpectedly.
The scenario is that
- Click a marker to display an info window
- Click the empty area on the map
- The info window disappear unexpectedly.
Note that the info window is expected to display because I have a code to set the selectedMarker of mapview if user click an empty area.
It seems to me that setting selectedMarker doesn't work sometimes
The git for reproducing the issue
https://github.com/benba5/IssueGoogleMap1.13.0/tree/investigate_infowindow
Thank you very much
However, I found the new problem which is the info window disappear unexpectedly.
The scenario is that
- Click a marker to display an info window
- Click the empty area on the map
- The info window disappear unexpectedly.
Note that the info window is expected to display because I have a code to set the selectedMarker of mapview if user click an empty area.
It seems to me that setting selectedMarker doesn't work sometimes
The git for reproducing the issue
Thank you very much
br...@google.com <br...@google.com> #11
@benlbenl, please raise a new issue for the new bug. Thanks!
br...@google.com <br...@google.com> #14
This bug has been fixed in version 1.13.1. Thanks for the reports!
Description
After update the Google Map SDK to 1.13.0, my application doesn't response when trying to show a custom marker info window.
func mapView(mapView: GMSMapView, markerInfoWindow marker: GMSMarker) -> UIView? {
let resources = NSBundle.mainBundle().loadNibNamed("CustomPopup", owner: self, options:nil) as Array
let infowindow = resources.first as! SelectionPopup
return infowindow
}
After commenting out the above method, my application become response on the mention scenario
Note that my code works on version 1.12.3
Thank you