バグに遭遇したのか、pathFromEncodedPath
間違ったものを使用しているのか疑問に思っていますか?
GMSMutablePath *path = [GMSMutablePath pathFromEncodedPath:@"o|}bF~bsgV_pR??~`f@~oR?"];
GMSPolyline *rectangle = [GMSPolyline polylineWithPath:path];
rectangle.map = mapView_;
上記のコードは私に例外を与えています:
+[GMSMutablePath count]: unrecognized selector sent to class 0x2839a8
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[GMSMutablePath count]: unrecognized selector sent to class 0x2839a8'
Interactive Polyline Encoder Utilityを使用して、エンコードされたポリラインが有効であること を確認しました。
誰かに提案があるかどうか、またはこの問題に遭遇したかどうかを確認してください。ありがとう!