Bonjour, Je viens d'installer sfEasyGMapPlugin. Mais j'ai un petit soucis. Voici mon code :
$gMap = new GMap(); $markers = array( new GMapMarker(51.245475, 6.821373,array()), new GMapMarker(46.262248, 6.115969,array()), new GMapMarker(48.848959, 2.341577,array()), new GMapMarker(48.718952, 2.219180,array()), new GMapMarker(47.376420, 8.547995,array()), ); $i=0; foreach($markers as $marker) { // Reverse geocoding of the center of the map $i++; $marker->addHtmlInfoWindow(new GMapInfoWindow($i)) $gMap->addMarker($marker); } // Center the map on marker width 0.3 margin $gMap->centerAndZoomOnMarkers(0.3); $this->gMap = $gMap; Mon problème est qu'il y a une seule InfoWindow qui apparait lorsqu'on clique sur un des markers qui correspond à la InfoWindow du dernier Marker. J'ai essayé de faire appel à l'API directement via un event. Mais le soucis est le même. Merci d'avance de votre aide. -- Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Symfony-fr. Pour envoyer un message à ce groupe, adressez un e-mail à symfony-fr@googlegroups.com. Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse symfony-fr+unsubscr...@googlegroups.com. Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/symfony-fr?hl=fr