Hello, I yet tried to utilise setPosition() (you can see that in the source code: it's commented) but does not works. I do not how to do...
On 21 Mar, 21:07, chinhua kong <[email protected]> wrote: > On Mon, Mar 21, 2011 at 2:23 PM, thebit <[email protected]> wrote: > > Hello, > > thank you for your answer. > > The infowindow2 was coorectly definited, but I forgot to change name a > > infowindow => infowindow2 when I wrote the code here. > > So, I uploaded the page and you can view at this link: > >http://thebit.altervista.org/maps/testAddMarker5_web.php > > If you try to click onto a marker, the infowindow will open even in > > the same coordinates. > > I hope you can help me. > > Hi, if I understand you correctly, you want to know how to reposition the > infowindow. Please use setPosition to reset your infowindow's lat,lng to > your clicked marker's lat,lng > > > > > > > Thanks. > > > On 21 Mar, 14:22, Rossko <[email protected]> wrote: > > > > google.maps.event.addListener(loadedMarker, 'click', > > function() > > > > { > > > > infowindow2.open(map,loadedMarker); > > > > Where does infowindow2 get defined? I'm suprised you get one at all, > > > but then I can't see the whole context of your code snippet. > > > > You know the routine by now, a link to your problem map would give > > > best responses for you. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps JavaScript API v3" 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-js-api-v3?hl=en. > > -- > Best and Regards, > Chin Hua Kong -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
