Fixed
Status Update
Comments
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.
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!
ri...@gmail.com <ri...@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> #6
Thanks for the repro benlbenl5!
ri...@gmail.com <ri...@gmail.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;
}
[Deleted User] <[Deleted User]> #8
I'm having the same issue. App crashes when no location is selected. Only happens on device, not in the simulator.
cv...@gmail.com <cv...@gmail.com> #9
deleted
gr...@gmail.com <gr...@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
[Deleted User] <[Deleted User]> #11
@benlbenl, please raise a new issue for the new bug. Thanks!
ni...@gmail.com <ni...@gmail.com> #12
I having same issue, when picker showed, i press back button, it will crash. When i turn on zombie object it take:
*** -[UIWindow _shouldAnimatePropertyWithKey:]: message sent to deallocated instance...
Some time it work fine, but some time it very bad.
My test code:
https://drive.google.com/file/d/0B_6mUiEnI0Y7bTNZNDRCeTZkYnc/view?usp=sharing
*** -[UIWindow _shouldAnimatePropertyWithKey:]: message sent to deallocated instance...
Some time it work fine, but some time it very bad.
My test code:
ni...@gmail.com <ni...@gmail.com> #13
oh, i see it on device (iphone 6 - ios 9.0.2) and simulator iphone 6s (9.0).
br...@google.com <br...@google.com> #14
This bug has been fixed in version 1.13.1. Thanks for the reports!
tc...@gmail.com <tc...@gmail.com> #15
[Comment deleted]
Description
GMSPlacePicker is getting crash when user does not select any place from picker view and press Back button.
Here is my code:
- (void)findNearByPlace :(CLLocationCoordinate2D)center {
CLLocationCoordinate2D northEast = CLLocationCoordinate2DMake(center.latitude + 0.001,
center.longitude + 0.001);
CLLocationCoordinate2D southWest = CLLocationCoordinate2DMake(center.latitude - 0.001,
center.longitude - 0.001);
GMSCoordinateBounds *viewport = [[GMSCoordinateBounds alloc] initWithCoordinate:northEast
coordinate:southWest];
GMSPlacePickerConfig *config = [[GMSPlacePickerConfig alloc] initWithViewport:viewport];
self.placePicker = [[GMSPlacePicker alloc] initWithConfig:config];
[self.placePicker pickPlaceWithCallback:^(GMSPlace *place, NSError *error) {
if (error != nil) {
NSLog(@"Pick Place error %@", [error localizedDescription]);
return;
}
if (place != nil) {
NSLog(@"Place name:%@",place.formattedAddress);
placeName =
placeAddress = place.formattedAddress;
//hide previous marker
self.mapMarker.map = nil;
self.locaitonTitle =
self.locationAddress = place.formattedAddress;
self.mapMarker = [GMSMarker markerWithPosition:place.coordinate];
self.mapMarker.icon = [UIImage imageNamed:@"ic_ellipse_black.png"];
mapLattitude = place.coordinate.latitude;
mapLongitude = place.coordinate.longitude;
self.mapMarker.draggable = YES;
markerTag = @"2";
markerDefault = @"default";
self.mapMarker.userData = @{};
self.mapMarker.map = self.mapView_;
[self showLocationPopUp:placeName address:placeAddress withCoord:place.coordinate];
//[self showLocationFoundView];
} else {
[self addOwnLocation : longPressCoord];
NSLog(@"No Place is selected yet");
}
}];
}
*********************************************************
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.
*********************************************************