Hi Larry and Ross, Because my polygon I want has a ton of points, and I didn't want to figure out how to use KML to import the points. My skillz are obliviously infantile. I just wanted to feed it an array of numbers, i'll try creating a function like suggested.
On Dec 10, 9:56 am, Rossko <[EMAIL PROTECTED]> wrote: > > (37.4419, -132.0419) > > That's a pair of numbers. You couldn't use it to represent, say, a > point on a map because there is no frame of reference. 37.4419 of > what? Relative to where? > > GLatLng((37.4419, -132.0419) > That's a point which you can put on a map, because GLatLng is defined > against a particular reference system. Hence why GPolygon wants an > array of those as opposed to a jumble of numbers. > > Why are you trying to avoid GLatLng(), it's not 'geocoding' as you > hinted earlier, it doesn't make any requests to servers or anything? > > I guess you could write your own MyPolygon function that behaved like > Gpolygon but accepted an array of number arrays. > > cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
