src/Services/Geocoding/Result/GeocoderGeometry.php
public function setLocationType($locationType)
    {
        if (!in_array($locationType, GeocoderLocationType::getGeocoderLocationTypes())) {
            throw GeocodingException::invalidGeocoderLocationType();
        }

        $this->locationType = $locationType;
    }
public function setLocationType($locationType)
    {
        if (!in_array($locationType, GeocoderLocationType::getGeocoderLocationTypes())) {
            throw GeocodingException::invalidGeocoderLocationType();
        }

        $this->locationType = $locationType;
    }
Sets the geometry location type.

@param string $locationType The geometry location type.

@throws \Ivory\GoogleMap\Exception\GeocodingException If the location type is not valid.