Commit 533f29fd authored by Ayolo's avatar Ayolo

gmap

parent 476106f8
...@@ -109,7 +109,7 @@ class gmap extends stdcontents ...@@ -109,7 +109,7 @@ class gmap extends stdcontents
$this->buffer .="function initialize() {\n"; $this->buffer .="function initialize() {\n";
$this->buffer .= $this->name." = new google.maps.Map2(document.getElementById(\"".$this->name."_canvas\"));\n"; $this->buffer .= $this->name." = new google.maps.Map2(document.getElementById(\"".$this->name."_canvas\"));\n";
$this->buffer .= $this->name."setCenter(new GLatLng(0, 0), 13);\n"; $this->buffer .= $this->name.".setCenter(new GLatLng(0, 0), 13);\n";
if(is_null($this->pays)) if(is_null($this->pays))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment