我想在两个点之间绘制弯曲线,一个人可以帮助我吗?我使用了多线测量线,但是曲线看不到太多,我可以使用测量线增加曲线尺寸吗?
检查以下内容:
ArrayList<LatLng> poi = new ArrayList<LatLng>();
PolylineOptions polyLineOptions = new PolylineOptions();
poi.add(new LatLng(-33.66855343,151.2958685)); //from
poi.add(new LatLng(-33.66961962,151.3114906)); // to
polyLineOptions.width(7);
polyLineOptions.geodesic(true);
polyLineOptions.color(getResources().getColor(R.color.black));
polyLineOptions.addAll(points);
Polyline polyline = mGoogleMap.addPolyline(polyLineOptions);
polyline.setGeodesic(true);