Commit 2b1ea361 authored by Ayolo's avatar Ayolo

gmap

parent 40897eba
...@@ -149,9 +149,10 @@ class gmap extends stdcontents ...@@ -149,9 +149,10 @@ class gmap extends stdcontents
function(point) function(point)
{ {
if(!point) if(!point)
alert('crap'); return;
else else
{ {
alert('here');
var ".$ville->nom." = new google.maps.Marker(point); var ".$ville->nom." = new google.maps.Marker(point);
".$this->name.".addOverlay(".$ville->nom."); ".$this->name.".addOverlay(".$ville->nom.");
} }
......
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