I recall having issues with this when I first started using this version of the API. The only advice I can give is to make sure each new polygon gets a new instance of an mvcarray for its paths. I ended up writing a manager class to ensure each polygon had its own "private" path and marker arrays. Otherwise, be sure to watch out for closure issues when declaring the polys.
On Fri, Jan 29, 2010 at 2:07 AM, Arlen xiao <[email protected]> wrote: > How can a map simultaneously display multiple Polygon? > > -- > Arlen > > msn:[email protected] <msn%[email protected]> > skype ID:arlenxiao > E-mail:[email protected] <e-mail%[email protected]> > Tel:+86-0755-82840647 Ext 616 > Mobile phone:+86-13417456139 > Fax:+86-0755-82840648 > > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
