如何在Android中在地图上绘制多个圆

如何在Android中在地图上绘制多个圆,android,google-maps-android-api-2,draw,Android,Google Maps Android Api 2,Draw,我尝试在谷歌地图中使用圆圈选项绘制多个圆圈,当我尝试使用单个圆圈时,效果非常好,但当我尝试使用坐标列表时,它只显示标记,而不在地图中绘制圆圈 ->在模型中设置数据 TestCircleModel testCircleModel = new TestCircleModel(22.9734, 78.6569, "15"); myTestCircleList.add(testCircleModel); TestCircleModel testCircleModel2 = new

我尝试在谷歌地图中使用圆圈选项绘制多个圆圈,当我尝试使用单个圆圈时,效果非常好,但当我尝试使用坐标列表时,它只显示标记,而不在地图中绘制圆圈

->在模型中设置数据

  TestCircleModel testCircleModel = new TestCircleModel(22.9734, 78.6569, "15");
    myTestCircleList.add(testCircleModel);

    TestCircleModel testCircleModel2 = new TestCircleModel(22.2587, 71.1924, "17");
    myTestCircleList.add(testCircleModel2);

    TestCircleModel testCircleModel3 = new TestCircleModel(15.2993, 74.1240, "22");
    myTestCircleList.add(testCircleModel3);

    for (TestCircleModel myModel : myTestCircleList) {
        showCircle(myModel.getLat(), myModel.getLang(), myModel.getDigit());
    }
->画圆的方法

private void showCircle(double lat, double lang, String digit) {
    CircleOptions circleOptions = new CircleOptions();
    LatLng seattle = new LatLng(lat, lang);
    circleOptions.center(seattle);
    circleOptions.radius(500);
    circleOptions.fillColor(Color.BLUE);
    circleOptions.strokeColor(Color.RED);
    circleOptions.strokeWidth(4);
    seattle = new LatLng(lat, lang);
    mMap.addMarker(new MarkerOptions().position(seattle).title(digit));
    mMap.addCircle(circleOptions);
}

是因为他们在西雅图都有相同的半径和中心吗<代码>circleOptions.center(西雅图)circleOptions.center(西雅图)