That URL doesn't link to anything because of the disguised domain. But I can tell you what is almost certain to be the problem: you have a loop that iterates over an array of the marker locations, and inside the event listener for a marker there's code that references "places[i]", assuming that "places" is the name of that array and "i" is your loop variable.
The problem is that the "i" loop variable won't contain the value you expect inside asynchronous event handlers. The easiest way to fix this is to use a closure in your loop. It can be as simple as changing your code from this: for( var i = 0; i < places.length; i++ ) { // Do stuff with "places[i]" inside this loop. // But that doesn't work in asynchronous event listeners! } to this: places.forEach( function( place ) { // All of your code to add the marker, display the infowindow, etc. goes here. // Use "place" in this code instead of "places[i]". // "place" is available in asynchronous event listeners inside this function. }); More information about this issue, including some more complicated ways of creating the closure: https://www.google.com/search?q=google+maps+javascript+closure -Mike On Wed, Mar 9, 2016 at 8:58 AM, Nix Eus <nix...@gmail.com> wrote: > Hello, > > > I'm trying to do a webpage in order to display severals pushpins. I'm > passing on the url : Name+Adresse+Code. > > > *-> My pushpins are correctly displayed :) * > > > Then i'm trying to do InfoWindows() when clicked. I would like to display > on this info Winfows the code and the name of the place clicked. > > > My problem is i get always the same informations (same code+same name) > when i click on the pushpins :( > > > I really don't use javascript often, i think my error is very simple...but > unable to find it with the debugger. I'm thinking is related in the Geocode > call. > > > i'm using Google Maps api v3 : > > > You can call the url like this : > > > > http://XXXXXX/MutliMaps.html?q=myFirstPlace@BOULEVARD%20DE%20L%20OISE,%2095000,%20CERGYT=V0130151N=myFirstPlace&q=myFirstPlace@9%20rue%20Henri%20Dunant,%2091072,%20BONDOUFLET=P0001568N=mySecondPlace&q=myThirdPlace@ROUTE%20DE%20VILLEJUST,%2091620,%20NOZAYT=P0007752N=myThirdPlace > <http://xxxxxx/MutliMaps.html?q=myFirstPlace@BOULEVARD%20DE%20L%20OISE,%2095000,%20CERGYT=V0130151N=myFirstPlace&q=myFirstPlace@9%20rue%20Henri%20Dunant,%2091072,%20BONDOUFLET=P0001568N=mySecondPlace&q=myThirdPlace@ROUTE%20DE%20VILLEJUST,%2091620,%20NOZAYT=P0007752N=myThirdPlace> > > > I use the debugger but don't really find my error :s > > > Anyone can help me ? > > > Thanks a lot, > > > Regards, > > > Nixeus > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-maps-js-api-v3+unsubscr...@googlegroups.com. > To post to this group, send email to > google-maps-js-api-v3@googlegroups.com. > Visit this group at https://groups.google.com/group/google-maps-js-api-v3. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at https://groups.google.com/group/google-maps-js-api-v3. For more options, visit https://groups.google.com/d/optout.