src/widgets/LocationFormWidget.php
protected function geolocation()
    {
        $this->parts['{geolocation}'] = $this->form->field($this->model, 'latitude')->textInput([
                    'name' => $this->getSubmitModelName('latitude')
                    , 'id' => $this->fieldIds['latitude']
                ])
                . "\n"
                . $this->form->field($this->model, 'longitude')->textInput([
                    'name' => $this->getSubmitModelName('longitude')
                    , 'id' => $this->fieldIds['longitude']
        ]);
    }
protected function geolocation()
    {
        $this->parts['{geolocation}'] = $this->form->field($this->model, 'latitude')->textInput([
                    'name' => $this->getSubmitModelName('latitude')
                    , 'id' => $this->fieldIds['latitude']
                ])
                . "\n"
                . $this->form->field($this->model, 'longitude')->textInput([
                    'name' => $this->getSubmitModelName('longitude')
                    , 'id' => $this->fieldIds['longitude']
        ]);
    }
Renders the geolocation part.