I'm working in WinXP on FF3 and IE8. I cant post a link because the
site is on an intranet. My problem is re-enabling drawing after I
double-clicked to terminate drawing. The polyline does get into the
drawing mode again but wont accept any clicks. Here is my code:
var map = new GMap2(document.getElementById("map"));
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(38.83,-77.11),12);
var poly = new GPolyline([], "#660000",3,1);
map.addOverlay(poly);
poly.enableDrawing({});
poly.enableEditing({onEvent: "mouseover", maxVertices: 1});
poly.disableEditing({onEvent: "mouseout"});
GEvent.addListener(map, "singlerightclick", function(point, src,
overlay) {
poly.enableDrawing({});
});
Any help is appreciated, thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---