Hello, Thanks for your answer but I'm using Google Maps V3 so I can't use GEvent object because it no longer exists. I have tried to use the reference of the OverlayView but it doesn't work. I have tried to add a marker in the OverlayView but it can't be done because markers are located in lat-lng coordinates, not x-y coordinates.
Pau On 1 March 2010 09:50, Andrew Leach <[email protected]> wrote: > On Feb 28, 8:55 pm, Pau <[email protected]> wrote: >> I have tried may combinations but none of them has worked. I tried to >> use 'google.maps.event.addListener', >> 'google.maps.event.addDomListener' and the standard 'addListener'. >> I am sure the code of the listener function works because I have >> tested it. > > Javascript is case sensitive. From the documentation: "For example, > the GMap2 object within the Google Maps API can also be defined as > google.maps.Map2." The object you are trying to use is called GEvent. > >> Here you have some code snippets, if you want the whole code just ask. > > No thanks. Please read this: > http://groups.google.com/group/google-maps-api/web/suggested-posting-guidelines > and > http://groups.google.com/group/google-maps-api/web/why-including-a-link-is-critical > > -- > 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. > > -- 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.
