Zoom = 2; $this->Position = array('Lat' => 40.178873, 'Lng' => 65.039062); $this->Key = ''; $this->ShowMarker = false; $this->Markers = array(); $this->PolyLines = array(); $this->OnClickObject = null; } function Show(): string { return ''; } } class MapGoogle extends Map { function ShowPage(Page $Page): string { $Page->Load = 'initialize()'; //$Page->Unload = 'google.maps.Unload()'; $Page->BasicHTML = true; $Page->HideMenu = true; $Output = ''; $Output .= ''; $Output .= '
'; return $Output; } } class MapSeznam extends Map { } class MapOpenStreetMaps extends Map { function GetPageHeader(): string { $Output = ''; $Output .= ''; return $Output; } function ShowPage(Page $Page): string { $this->System->PageHeaders[] = array($this, 'GetPageHeader'); $Page->Load = 'initialize()'; $Page->BasicHTML = true; $Page->HideMenu = true; $Output = ''; $Output .= '
'; return $Output; } }