On Jul 20, 9:59 am, "[email protected]" <[email protected]> wrote: > On Jul 20, 8:57 am, Mike Williams <[email protected]> wrote: > > > There's a missing { between these two lines: > > > function createPolygon(point, title, tab1, tab2, tab3, html, type) > > var poly = new GPolygon(point,"#000000",0,0,"#0000CC",0, > > {clickable:true}); > > > so you end up with the function syntax like > > > function(...) { > > var poly .... > > return poly; > > > } > > and > 1. the function you are calling CreatePolygon is not the same as the > one you define createPolygon > 2. there is no GPolygon.openInfoWindow, you need to use > GMap2.openInfoWindow, which takes an additional argument (a GLatLng as > the first argument) > 3. there is no variable "marker" in the scope of createPolygon 4. there only seems to be a single GLatLng associated with each polygon.
-- Larry > > > > -- > > Mike Williams- Hide quoted text - > > - Show quoted text - -- 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.
