The problem you have here, I think is that GMaps might be confused by
the double right click event which could be interfering with the one
you defined for single click.

Also I see line 91 could be  the one redrawing the polygons, try
setting this to false or commenting it to see what happens.
Line 91------------------>  obj.redraw(true);

I'm just guessing, I didn't try the code at all.

Cyas

On 14 feb, 00:49, ajl199 <[email protected]> wrote:
> First, a link to a page demonstrating my problem:
>          http://www.palm10.eclipse.co.uk/gmprob/simple2web.html
>
> This is a much pared-down version of a more complex page which I have
> been using personally for some time in Firefox without trouble. Now, I
> want to enable others to use it, and it turns out that there is a
> problem with it in IE. If the polygon I'm on about doesn't show up
> immediately when the page loads, zoom out a click and it should appear
> just under the words "North Sea" - another problem which has crept in
> as I stripped the page down.
>
> The polygon shown "should" (i.e. I want it to) remain attached to its
> geographical co-ordinates as one zooms in and out. If the user right-
> clicks on it, it should turn red and a pop-up confirmation box should
> ask about deleting it; if the user says yes, the polygon should
> disappear.
>
> When an IE user zooms the map in or out, the "ghost" of the polygon
> remains in its original position on the page, despite new
> geographically referenced versions being visible over or beneath it.
> Equally, when the user deletes the polygon, its image remains in
> place. In the original, more complex, page, the polygon is editable
> and the same problem applies with editing it.
>
> I am not experienced with the Google Maps API, or especially
> proficient with javascript. The page is a collection of parts I had
> worked out from information online and tested in Firefox. Today is the
> first time I have tried it in IE, so I am quite prepared to admit it's
> probably an idiot coding error. The polygons do seem to disappear from
> the array, in so far as I can tell, so this looks to me like a
> rendering issue rather than a polygon control one. I have tried all
> sorts of variations on redraw() and don't seem to be able to get one
> which fixes the issue.
>
> If someone can enlighten me as to where I am going wrong, I would be
> hugely grateful.  Sorry if I'm just being stupid and failing to call a
> function I ought to, or similar.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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