J'utilise le php pour afficher des points sur la carte avec Latitude
et Longitude :
<?
require('GoogleMapAPI.class.php');
$map = new GoogleMapAPI('map');
// enter YOUR Google Map Key
$map->setAPIKey('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
// create some map markers
**********************************************************************************
$map->setWidth('1500px');
$map->setHeight('800px');
$map->disableDirections();
$map->setMapType('satellite');
if ($Site1!=""){
$map->addMarkerByCoords($Long1, $Lat1, $Site1,$Site1,$Site1);
}
if ($Site2!=""){
$map->addMarkerByCoords($Long2, $Lat2, $Site2,$Site2,$Site2);
}
if ($Site3!=""){
$map->addMarkerByCoords($Long3, $Lat3, $Site3,$Site3,$Site3);
}
if ($Site4!=""){
$map->addMarkerByCoords($Long4, $Lat4, $Site4,$Site4,$Site4);
}
if ($Site5!=""){
$map->addMarkerByCoords($Long5, $Lat5, $Site5,$Site5,$Site5);
}
if ($Site6!=""){
$map->addMarkerByCoords($Long6, $Lat6, $Site6,$Site6,$Site6);
}
?>
Tout fonctionne parfaitement.
Mais je dois cliquer sur chaque point pour visualiser l'info-bulle.
Je voudrais que toutes les infos-bulle soient visibles sans cliquer.
Je ne trouve pas le code pour cela
Merci
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.