code: public function getLats(): array
      {
          $lats = [];
  
          foreach ($this->points as $point) {
              /** @var Coordinate $point */
              $lats[] = $point->getLat();
          }
  
          return $lats;
      }
docs: Return all polygon point's latitudes.
  
  @return float[]