Google map : Marker et DirectionsService
Résolu
Fallentree
Messages postés
2309
Date d'inscription
Statut
Membre
Dernière intervention
-
Fallentree Messages postés 2309 Date d'inscription Statut Membre Dernière intervention -
Fallentree Messages postés 2309 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
je ne trouve pas les indications sur les markers liés au DirectionsService ...
C est dommage ...
comment faire pour y ajouter un coment ????
je ne trouve pas les indications sur les markers liés au DirectionsService ...
C est dommage ...
comment faire pour y ajouter un coment ????
A voir également:
- Google map : Marker et DirectionsService
- Google maps satellite - Guide
- Google maps - Guide
- Dns google - Guide
- Google photo - Télécharger - Albums photo
- Créer un compte google - Guide
2 réponses
google.maps.InfoWindowOptions
Fallentree
Messages postés
2309
Date d'inscription
Statut
Membre
Dernière intervention
209
https://stackoverflow.com/questions/6139888/google-maps-api-v3-directionsrendereroptions-and-custom-content-in-infowindow
Bref ...
Il faut recreer des markers Et y associer des infowindows approprier a l evenement onclick ...
Biensur passer par une fonction de geolocalisation en fonction de l adresse
Voici un bout de code sur les evenement du marker ...
Il faut recreer des markers Et y associer des infowindows approprier a l evenement onclick ...
Biensur passer par une fonction de geolocalisation en fonction de l adresse
Voici un bout de code sur les evenement du marker ...
var marker = new google.maps.Marker( { position: response[0].geometry.location, map: maper, title: lieu }); var infowin = new google.maps.InfoWindow({ content: "hello world", position: response[0].geometry.location }); google.maps.event.addListener(marker, 'click', function() { infowin.open(maper, marker);});