On 7 July 2010 09:07, ProbablyMike <[email protected]> wrote: > Isn't google.maps.LatLng V3 syntax?
Yes, it is; but the answer is also "Not necessarily". See the blue box at the top of http://code.google.com/apis/maps/documentation/javascript/v2/reference.html However this just demonstrates the need for a link rather than a code snippet. Polygons are defined differently in Version 3, and the OP's code snippet is a better match to Version 2 code. The answer to the question is that "map" isn't a GMap2 object, probably because it's defined locally to an initialise function and used outside that function. But how are we to know? -- 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.
