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!
[Deleted User] <[Deleted User]> #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!
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
^__^
br...@google.com <br...@google.com>
[Deleted User] <[Deleted User]> #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
Thanks Josh!
[Deleted User] <[Deleted User]> #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
Description
demonstration page if at all possible, or attach code.
1. Install GoogleMaps iOS SDK v1.11.0 via CocoaPods
2. Add Objective-C category for GoogleMaps.frameworks classes (for example GMSCameraPosition+Additions.h)
3. Add a method in GMSCameraPosition+Additions.h
4. Invoke the method
5. Unrecognized selector crash
Operating system version: iOS 8.1.3
Google Maps SDK for iOS version: 1.11.0
Hardware model: iPhone 5
*********************************************************
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.
*********************************************************