On Jul 24, 9:16 am, "[email protected]" <[email protected]>
wrote:
> On Jul 24, 8:30 am, trez <[email protected]> wrote:
>
> > Ok, i've modified the code.
> > Now, when you click on the map and add a mark, its coordinates are
> > stored in an array (so they cant be wrong -.-) and then, when you
> > click at least four times, it should create a polygon but.....nothing
> > happen :(
>
> That's funny.  I get an error:
> Line: 53
> Error: 'coordinate' is undefined.

maybe:
polyShape = new GPolygon(coordinate,"#ffffff",2,1,"#ffffff",0.2);
should be:
polyShape = new GPolygon(array,"#ffffff",2,1,"#ffffff",0.2);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to