trying to use a Clusterer (other capabilities are running well....) I got an error : addDescriptionToMarker is not defined => line 169 my controller.. clusterer = Clusterer.new(@my_markers, :max_visible_markers => 2, :grid_size => 10, :min_markers_per_cluster => 2, :max_lines_per_info_box => 10, :icon => icons[2]) @map.overlay_init(clusterer) @marker_myself = GMarker.new ([@user.user_lat, at user.user_lng], :title => @user.pseudo) @map.center_zoom_init([@user.user_lat, @user.user_lng],zl) @map.overlay_init(@marker_myself) here is the generated script (with the line numbers) <script type="text/javascript"> 161 var icon_contact = addOptionsToIcon(new GIcon(),{image : "/images/ gm_contact.png",iconAnchor : new GPoint(10,34),shadow : "/images/ gm_shadow.png",infoWindowAnchor : new GPoint(9,2),shadowSize : new GSize(37,34),iconSize : new GSize(20,34)}); 162 var icon_reference = addOptionsToIcon(new GIcon(),{image : "/ images/gm_reference.png",iconAnchor : new GPoint(10,34),shadow : "/ images/gm_shadow.png",infoWindowAnchor : new GPoint(9,2),shadowSize : new GSize(37,34),iconSize : new GSize(20,34)}); 163 var icon_cluster = addOptionsToIcon(new GIcon(),{image : "/images/ gm_cluster.png",iconAnchor : new GPoint(10,34),shadow : "/images/ gm_shadow.png",infoWindowAnchor : new GPoint(9,2),shadowSize : new GSize(37,34),iconSize : new GSize(20,34)});var map; 164 window.onload = addCodeToFunction(window.onload,function() { 165 if (GBrowserIsCompatible()) { 166 map = new GMap2(document.getElementById("map_div")); 167 map.setCenter(new GLatLng(47.7377071331,-2.9257965088),10); 168 map.setCenter(new GLatLng(47.7377071331,-2.9257965088), 10);GEvent.addListener(map,"click",function processMoveEndEvent() { var centerPoint = map.getCenter(); }); 169 map.addOverlay(new Clusterer([addDescriptionToMarker (addInfoWindowTabsToMarker(new GMarker(new GLatLng (47.6666508055,-2.9833339433),{title : "aad725",icon : icon_contact}), [new GInfoWindowTab("Membre","pas de nom<br />aad725<br />Membre depuis : Ven, 03 Mar 2007 16:07:24 +0000<br / >r.caroll at recolocal.com")],{}),"aad725"),addDescriptionToMarker (addInfoWindowTabsToMarker(new GMarker(new GLatLng (47.6666508055,-2.9833339433),{title : "aede581",icon : icon_contact}),[new GInfoWindowTab("Membre","pas de nom<br / >aede581<br />Membre depuis : Ven, 03 Mar 2007 16:19:28 +0000<br / >l.sfez at recolocal.com")],{}),"aede581"),addDescriptionToMarker (addInfoWindowTabsToMarker(new GMarker(new GLatLng (50.633311677,3.0666420067),{title : "fraf492",icon : icon_reference}),[new GInfoWindowTab("Membre","Isabelle Merlin<br / >fraf492<br />Membre depuis : Ven, 27 Mar 2006 17:25:54 +0000<br / >henri_devos at yahoo.fr")],{}),"fraf492"),addDescriptionToMarker (addInfoWindowTabsToMarker(new GMarker(new GLatLng (47.6666508055,-2.9833339433),{title : "gere668",icon : icon_contact}),[new GInfoWindowTab("Membre","pas de nom<br / >gere668<br />Membre depuis : Ven, 03 Mar 2007 15:57:27 +0000<br / >m.callon at recolocal.com")],{}),"gere668"),addDescriptionToMarker (addInfoWindowTabsToMarker(new GMarker(new GLatLng (47.6666508055,-2.9833339433),{title : "glefe726",icon : icon_contact}),[new GInfoWindowTab("Membre","pas de nom<br / >glefe726<br />Membre depuis : Ven, 03 Mar 2007 18:31:36 +0000<br / >p.ansart at recolocal.com")],{}),"glefe726"),addDescriptionToMarker (addInfoWindowTabsToMarker(new GMarker(new GLatLng (47.5889152331,-2.897901535),{title : "gris253",icon : icon_contact}), [new GInfoWindowTab("Membre","Tatiana Govolin<br />gris253<br / >Membre depuis : Ven, 18 Mar 2007 07:31:24 +0000<br / >t.govolin at recolocal.com")],{}),"gris253"),addDescriptionToMarker (addInfoWindowTabsToMarker(new GMarker(new GLatLng (48.9500189708,2.0000237754),{title : "las737",icon : icon_contact}), [new GInfoWindowTab("Membre","Pierre Ruchard<br />las737<br />Membre depuis : Ven, 10 Mar 2006 16:18:54 +0000<br />avril78 at caillard.org")], {}),"las737"),addDescriptionToMarker(addInfoWindowTabsToMarker(new GMarker(new GLatLng(48.8999997553,2.0166395514),{title : "min13",icon : icon_contact}),[new GInfoWindowTab("Membre","Charles Berlou<br />min13<br />Membre depuis : Ven, 27 Mar 2006 16:32:36 +0000<br />mduboit at yahoo.fr")],{}),"min13"),addDescriptionToMarker (addInfoWindowTabsToMarker(new GMarker(new GLatLng (48.8499805398,2.3299901696),{title : "sid140",icon : icon_contact}), [new GInfoWindowTab("Membre","Oscar Petard<br />sid140<br />Membre depuis : Ven, 28 Mar 2006 22:10:55 +0000<br / >delphinecroux at yahoo.fr")],{}),"sid140")],icon_cluster,2,10,2,10)); 170 map.addOverlay(new GMarker(new GLatLng (47.7377071331,-2.9257965088),{title : "aabe307"}));map.addControl (new GSmallMapControl()); 171 } 172 }); 173 </script>