Search code examples
androidgoogle-mapsgoogle-maps-engine

Maps Engine polygons coordinates not exact to Google Maps coordinates?


I made two polygons using Google Maps Engine, then I export them as KML file. The two areas is located in SPAIN as you see in the picture below:

On Google Maps Engine

On Android development I use Google Maps API and I put the coordinates in a new PolygonOptions that I was export in the KML file. When I run the app I got this result:

On Google Maps API for Android

I don't know where the two polygons are located !! there are not in Spain.

Any solution?


Solution

  • I think you need to pass latitude and longitude in different order.

    Check this point here 41°30'13.7"N 5°44'40.3"W

    And now this is what if you reverse the order: 5°44'40.3"S 41°30'13.7"E