code: 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']
          ]);
      }
docs: Renders the geolocation part.