code: public CircularString toCircularString(List<LatLng> latLngs, boolean hasZ,
                                             boolean hasM) {
  
          CircularString circularString = new CircularString(hasZ, hasM);
  
          populateLineString(circularString, latLngs);
  
          return circularString;
      }
docs: Convert a list of {@link LatLng} to a {@link CircularString}
  
  @param latLngs lat lngs
  @param hasZ    has z flag
  @param hasM    has m flag
  @return circular string