Fixed
Status Update
Comments
th...@google.com <th...@google.com> #2
This has to do with the accessibility item, which isn't enabled by default.
th...@google.com <th...@google.com>
mu...@gmail.com <mu...@gmail.com> #3
Getting crash "All calls to the Google Maps SDK for iOS must be made from the UI thread" on line polyline = [GMSPolyline polylineWithPath:path]; even i am calling this code from main thread.
Can anyone tell me how to fix it.
Can anyone tell me how to fix it.
Description
demonstration page if at all possible, or attach code.
1. Make GMSPolyline that start point and end point is same latlng.
2. Set polyline to the map. (i.e. polyline.map = map;)
3. Then app crash.
It seems like if polyline.path.count == 1, then crash.
Previous version can handle it, no crash (however of course no route is created).
Operating system version:iOS7.1.1 (11D201)
Google Maps SDK for iOS version:1.8.0
Hardware model:iPhone 5S
Thread 0 Crashed:
0 0x000000010020045c gmscore::model::Rectangle2D::Rectangle2D(std::__1::vector<gmscore::model::Point2D, std::__1::allocator<gmscore::model::Point2D> > const&) + 24
1 0x00000001002780c4 -[GMSVectorMapView buildVisibleAccessibilityItems] + 392
2 0x00000001003475e0 -[GMSMapView updateOverlay:] + 404
3 0x0000000100359044 -[GMSOverlay setMap:] + 164
*********************************************************
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.
*********************************************************