sJavascriptURI='';$this->bInlineScript=true;} function configure($sName,$mValue){if('javascript URI'==$sName){$this->sJavascriptURI=$mValue;}else if('inlineScript'==$sName){if(true===$mValue||false===$mValue) $this->bInlineScript=$mValue;} } function generateClientScript(){echo "\n\n";echo "\n\n";} function getName(){return get_class($this);} function setGoogleSiteKey($sKey){$this->sGoogleSiteKey=$sKey;} function create($sMap,$sParentId){$command=array('n'=>'gm:cr','t'=>$sParentId);$this->addCommand($command,$sMap);} function zoom($sMap,$nZoom){$command=array('n'=>'gm:zm','t'=>$sMap);$this->addCommand($command,$nZoom);} function setMarker($sMap,$nLat,$nLon,$sText){$this->addCommand( array('n'=>'gm:sm','t'=>$sMap), array($nLat,$nLon,$sText) );} function moveTo($sMap,$nLat,$nLon){$command=array('n'=>'et_ar','t'=>$parent);if(null!=$position) $command['p']=$position;$this->addCommand($command,$row);} } $objPluginManager=&xajaxPluginManager::getInstance();$objPluginManager->registerPlugin(new clsGoogleMap());