Bundle bundle=new Bundle(); String lineId=lines.getId();//线路的id String lineName=lines.getLineName(); String towerNum=queryList.get(i).getTowerNo();//杆塔号 Double towerLatitude=queryList.get(i).getLatitude(); Double towerLongitude=queryList.get(i).getLongitude(); bundle.putString("lineId", lineId); bundle.putString("lineName", lineName); bundle.putString("towerNum", towerNum); bundle.putDouble("towerLatitude", towerLatitude); bundle.putDouble("towerLongitude", towerLongitude); OverlayOptions opptions=new CircleOptions().center(wholeLatlng.get(i)). radius(50).fillColor(0x60ff0000). stroke(new Stroke(5, 0xAA00FF00)).extraInfo(bundle) ; myOverlay= mBaiduMap.addOverlay(opptions);//画出了覆盖物 circleList.add(myOverlay);//将所有的覆盖物放在集合中加粗字体是添加圆形覆盖物的代码
目前暂无任何回答
- 0 回答
- 0 关注
- 1806 浏览
添加回答
举报
0/150
提交
取消