Back to PhocaGalleryRenderMap class

Method setInitializeF

public
setInitializeF
()

Method setInitializeF - Source code

public function setInitializeF()
{
    /* google.load("maps", "3.x", {"other_params":"sensor=false"}); */
    $js = 'function initMap() {' . "\n" . '   ' . $this->_tst . '.setAttribute("oldValue",0);' . "\n" . '   ' . $this->_tst . '.setAttribute("refreshMap",0);' . "\n" . '   ' . $this->_tstint . ' = setInterval("CheckPhocaMap()",500);' . "\n" . '}' . "\n";
    //.'google.setOnLoadCallback(initMap);'."\n";
    return $js;
}