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

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

        unset($this->mapOptions[$mapOption]);
    }
public function removeMapOption ( $ mapOption ) { if ( ! $ this -> hasMapOption ( $ mapOption ) ) { throw MapException :: mapOptionDoesNotExist ( $ mapOption ) ; } unset ( $ this -> mapOptions [ $ mapOption ] ) ; }
Removes a map option.

@param string $mapOption The map option.

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