On Jul 1, 11:55 am, Sebastian de comocomo <[email protected]>
wrote:
>
> So, what am I doing wrong in my example?

You are providing a link to a code listing instead of an online
example web page, for a start.

However, you do have this listener:
GEvent.addListener(map, "dblclick", function(moverlay, mpoint) {
                            marker.setPoint(mpoint);
                                GEvent.trigger(marker,'click');
                        });
which moves something called "marker" to the point where the map is
double-clicked and then triggers a click on "marker". The setPoint
line will generate an error if you double-click an overlay because
mpoint will be null.

-- 
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.

Reply via email to