Coordinate formats
Select the polygon and use the copy buttons in the panel:
Copy lat, lng — one corner per line, latitude first (the order Google Maps uses). The closing point is not repeated:
51.503000, -0.187000
51.503000, -0.151000
51.511500, -0.151000
51.511500, -0.187000
Copy GeoJSON — longitude first, ring closed by repeating the first point:
{"type": "Polygon", "coordinates": [[[-0.187, 51.503], [-0.151, 51.503], [-0.151, 51.5115], [-0.187, 51.5115], [-0.187, 51.503]]]}
Copy WKT — for SQL databases such as PostGIS, MySQL, SQL Server or BigQuery:
POLYGON ((-0.187 51.503, -0.151 51.503, -0.151 51.5115, -0.187 51.5115, -0.187 51.503))
Choose the number of decimals under Export → Coordinate precision (6 decimals ≈ 10 cm).
Using the coordinates
- PostGIS:
ST_GeomFromText('POLYGON ((…))', 4326)orST_GeomFromGeoJSON('…') - Google Maps JavaScript API: convert the lat, lng list into
{lat, lng}objects forgoogle.maps.Polygon - Leaflet / Mapbox / OpenLayers: use the GeoJSON directly