public function getMapOption($mapOption)
    {
        if (!$this->hasMapOption($mapOption)) {
            throw MapException::mapOptionDoesNotExist($mapOption);
        }

        return $this->mapOptions[$mapOption];
    }
public function getMapOption($mapOption)
    {
        if (!$this->hasMapOption($mapOption)) {
            throw MapException::mapOptionDoesNotExist($mapOption);
        }

        return $this->mapOptions[$mapOption];
    }
public function getMapOption ( $ mapOption ) { if ( ! $ this -> hasMapOption ( $ mapOption ) ) { throw MapException :: mapOptionDoesNotExist ( $ mapOption ) ; } return $ this -> mapOptions [ $ mapOption ] ; }
Gets a specific map option.

@param string $mapOption The map option.

@throws \Ivory\GoogleMap\Exception\MapException If the map option does not exist.

@return mixed The map option value.
Gets a specific map option .