GoogleMaps.php
protected function getGoogleMapsOptions()
    {
        if (isset(Yii::$app->params['googleMapsOptions']) && empty($this->googleMapsOptions)) {
            $this->googleMapsOptions = Yii::$app->params['googleMapsOptions'];
        }

        return ArrayHelper::merge([
            'mapTypeId' => 'roadmap',
            'tilt' => 45,
            'zoom' => 2,
        ], $this->googleMapsOptions);
    }
protected function getGoogleMapsOptions()
    {
        if (isset(Yii::$app->params['googleMapsOptions']) && empty($this->googleMapsOptions)) {
            $this->googleMapsOptions = Yii::$app->params['googleMapsOptions'];
        }

        return ArrayHelper::merge([
            'mapTypeId' => 'roadmap',
            'tilt' => 45,
            'zoom' => 2,
        ], $this->googleMapsOptions);
    }
protected function getGoogleMapsOptions ( ) { if ( isset ( Yii :: $ app -> params [ 'googleMapsOptions' ] ) && empty ( $ this -> googleMapsOptions ) ) { $ this -> googleMapsOptions = Yii :: $ app -> params [ 'googleMapsOptions' ] ; } return ArrayHelper :: merge ( [ 'mapTypeId' => 'roadmap' , 'tilt' => 45 , 'zoom' => 2 , ] , $ this -> googleMapsOptions ) ; }
Get google maps options

@return array
Get google maps options