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