Thank you. I declared a global variable called "aeras" ... I found the problem by looking for in this forum: - I must use setFillStyle or setStrokeStyle methods for changing the color. The methods redraw the figure. - the redraw method shall not be used in this context.
P.S: I cannot give a link to my application because of VPN ... On 1 avr, 23:43, Rossko <[email protected]> wrote: > > too much subtil for me ... > > In one part of the code snippet you use an array areas[]. > In another you use an array aeras[]. > It looks like you meant the same array, but you have spelt them > differently. > javascript thinks you mean two different arrays. -- 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.
