On 13 April 2011 16:02, possicon <[email protected]> wrote: > This code displays on the sea instead of displaying on the ground > surface. Pls can you spot any error in the code below?
I don't suppose there is an error in the code: it's doing what you tell it to. 6.618668,3.352711 is in the sea off Port Harcourt. 3.352711,6.618668 is in Lagos. KML has coordinates in longitude, latitude order, unlike GLatLng. http://code.google.com/apis/kml/documentation/kmlreference.html#coordinates Note that it's not really possible to check for *errors* without a link because the Groups interface mangles things. Your code looks ok syntactically, though. But the coordinates are almost certainly what's causing the issue. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
