On Oct 28, 4:46 pm, Joice <[EMAIL PROTECTED]> wrote:

> Problem is shp2pgsql and Google Maps work with the coordinates in a
> reversed way (if only there was a GLngLat replacement...).

Well, there is GPoint(), but use of that for geographic coordinates is
deprecated. You could implement your own, I suppose:
  function JLngLat(a,b) {
    return new GLatLng(b,a)
    }
where a and b are numbers. That's a little more elegant and probably
more efficient than parsing the array and swapping things around.

var c=new JLngLat(-29.469492,-51.977177)

Andrew

--~--~---------~--~----~------------~-------~--~----~
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