public function getLatLngs($preferFlat = true)
    {
        if ($preferFlat) {
            $value = [];

            foreach ($this->latLngs as $ring) {
                $value = array_merge($value, $ring);
            }

            return $value;
        }

        return $this->latLngs;
    }