code: public void update() {
  
          switch (shapeType) {
  
              case POLYLINE_MARKERS:
                  ((PolylineMarkers) shape).update();
                  break;
              case POLYGON_MARKERS:
                  ((PolygonMarkers) shape).update();
                  break;
              case MULTI_POLYLINE_MARKERS:
                  ((MultiPolylineMarkers) shape).update();
                  break;
              case MULTI_POLYGON_MARKERS:
                  ((MultiPolygonMarkers) shape).update();
                  break;
              case COLLECTION:
                  @SuppressWarnings("unchecked")
                  List<GoogleMapShape> shapeList = (List<GoogleMapShape>) shape;
                  for (GoogleMapShape shapeListItem : shapeList) {
                      shapeListItem.update();
                  }
                  break;
              default:
          }
  
      }
docs: Updates all objects that could have changed from moved markers