t['backbutton'] != '' && $this->t['enable_multibox_iframe'] != 1) { echo $this->t['backbutton']; } if (empty($this->map) || $this->map->longitude == '' || $this->map->latitude == '') { echo '

' . Text::_('COM_PHOCAGALLERY_ERROR_MAP_NO_DATA') . '

'; } else { $text = '
'; $text .=''; $text .=''; $text .=''; $text .='
'. addslashes((string)$this->map->geotitle).'
'.HTMLHelper::_( 'image', $this->map->thumbnail, addslashes((string)$this->map->geotitle)) . ''. PhocaGalleryText::strTrimAll(addslashes((string)$this->map->description)).'
'; $id = uniqid(); $map = new PhocaGalleryRenderMaposm($id); echo ''; $cmw = ''; if ((int)$this->t['largemapwidth'] > 0) { $cmw = 'width:'.$this->t['largemapwidth'].'px;'; } $cmw = 'width: 100%;'; //$cmh = 'height:'.$this->t['largemapheight'].'px'; $cmh = 'height: 100vh;'; echo '
'; echo '
'; echo '
'; $map->loadAPI(); $map->loadCoordinatesJS(); $map->createMap($this->map->latitude, $this->map->longitude, $this->map->zoom); $map->setMapType(); $map->setMarker(1, $this->map->geotitle,$this->map->description,$this->map->latitude, $this->map->longitude); $map->renderFullScreenControl(); //$map->renderCurrentPosition(); //$map->renderSearch('', 'topleft'); $map->renderMap(); } if ($this->t['detailwindow'] == 7) { echo '
 
'; echo PhocaGalleryUtils::getExtInfo(); } ?>