On Feb 4, 5:01 pm, "[email protected]" <[email protected]> wrote: > > If I click control 1 and then click control 2 I get a bug - a polygon > is not added to the map. I've discovered that it occurs on line " > poly.enableDrawing(); " > > What is the problem?
I'd guess that the polygon has not been added to the map, and you need to do that before using enableDrawing(). Especially since it says that in the documentation for GPolygon. Currently you enable drawing and then add the overlay. > The error is "Error: a is null > Source:http://maps.google.com/intl/ru_ALL/mapfiles/143c/maps2.api/main.js > Line: 187" That means nothing really. A link to *your* map is what is required. Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
