Well, this is interesting.

The problem seems to be that GPolygon calls

self.latlng_from_coords(poly.shell.coords)

to unpack the coordinates. I handed in 2D points for the shell
coordinates, but somewhere along the line, a third coordinate of
"almost zero" in floating point was added to every point. This causes
the code which expects two coordinates

return '[%s]' % ','.join(['new GLatLng(%s,%s)' % (y, x) for x, y in
coords])

to blow up.

I've hacked my copy to pull out and ignore the useless z coordinate.

Where can I file a bug?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to