Server IP : 103.118.17.23 / Your IP : 216.73.216.188 Web Server : Microsoft-IIS/10.0 System : Windows NT RESELLERPLESK22 10.0 build 20348 (Windows Server 2016) AMD64 User : IWAM_plesk(default) ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : E:/Inetpub/vhosts/mesa.org.in/httpdocs/assets/plugins/QGoogleMap/example/ |
Upload File : |
<?php require('../../../../includes/configuration/prepend.inc.php'); class QGoogleMapExample extends QForm { protected $objMap; protected function Form_Create() { $this->objMap = new QGoogleMap($this); // This needs to be a unique key for each domain. Get yours @ http://code.google.com/apis/maps/signup.html $this->objMap->MapKey = 'ABQIAAAAD5ed9hDt-Mvktac_TQQUXBS6ZariomNoMgfABIFXuTLicRrUjRRQ-OHO-iLVRErsZOeNfWXJcCao-g'; $this->objMap->IconColor = 'NAUTICA'; $this->objMap->IconStyle = 'HOUSE'; $this->objMap->MapType = TRUE; $this->objMap->ContinuousZoom = TRUE; $this->objMap->MapInset = TRUE; $this->objMap->AddAddress("1600 Pennsylvania Avenue NW Washington, DC 20500", "This is the White House, where America's president lives.", "The White House"); $this->objMap->AddAddress("E Capitol St NE & 1st St NE 20001 ", "This is the Capitol Building where laws are made and money is wasted.", "The Capitol Building"); } } QGoogleMapExample::Run('QGoogleMapExample', 'QGoogleMapExample.tpl.php'); ?>