private void changeMarkerToRedPoint(GetMapPoints points) {
   for (int i = 0; i < points.getMarkers().size(); i++) {
     points
         .getMarkers()
         .get(i)
         .setIcon(BitmapDescriptorFactory.fromResource(R.drawable.red_point));
   }
 }
 public void loadMap(int MapId, boolean isDrawRoute) {
   // 读取数据库中校区地图的数据,并进行绘制
   getMapPoints = new GetMapPoints();
   getMapPoints.execute(
       new PointOfSegmentService(this.getActivity()),
       new PointOfStructureService(this.getActivity()),
       mMap,
       MapId,
       isDrawRoute);
 }
 @Override
 public void onCameraChangeFinish(CameraPosition arg0) {
   zoom_current = mMap.getCameraPosition().zoom;
   Log.i("zoom", "" + zoom_current);
   if (zoom_current < 17 && getMapPoints != null && !isDestroy) {
     changeMarkerToRedPoint(getMapPoints);
     isDestroy = true;
   } else if (zoom_current >= 17 && isDestroy) {
     getMapPoints.addMarkers();
     isDestroy = false;
   }
   Log.i("isDestroy", "" + isDestroy);
 }