code: public Point toPoint(LatLng latLng, boolean hasZ, boolean hasM) {
          double y = latLng.latitude;
          double x = latLng.longitude;
          Point point = new Point(hasZ, hasM, x, y);
          point = toProjection(point);
          return point;
      }
docs: Convert a {@link LatLng} to a {@link Point}
  
  @param latLng lat lng
  @param hasZ   has z flag
  @param hasM   has m flag
  @return point