protected function loadSettingsForm()
{
$mapTypes = array('ROADMAP' => BL::lbl('Roadmap', $this->getModule()), 'SATELLITE' => BL::lbl('Satellite', $this->getModule()), 'HYBRID' => BL::lbl('Hybrid', $this->getModule()), 'TERRAIN' => BL::lbl('Terrain', $this->getModule()), 'STREET_VIEW' => BL::lbl('StreetView', $this->getModule()));
$mapStyles = array('standard' => BL::lbl('Default', $this->getModule()), 'custom' => BL::lbl('Custom', $this->getModule()), 'gray' => BL::lbl('Gray', $this->getModule()), 'blue' => BL::lbl('Blue', $this->getModule()));
$zoomLevels = array_combine(array_merge(array('auto'), range(1, 18)), array_merge(array(BL::lbl('Auto', $this->getModule())), range(1, 18)));
$this->form = new BackendForm('settings');
// add map info (overview map)
$this->form->addHidden('map_id', 0);
$this->form->addDropdown('zoom_level', $zoomLevels, $this->settings['zoom_level']);
$this->form->addText('width', $this->settings['width']);
$this->form->addText('height', $this->settings['height']);
$this->form->addDropdown('map_type', $mapTypes, $this->settings['map_type']);
$this->form->addDropdown('map_style', $mapStyles, isset($this->settings['map_style']) ? $this->settings['map_style'] : null);
}