将KML导入Google地图后,点将显示在Antartica中

mag*_*lez 2 xml google-maps kml

我想弄清楚我做错了什么.

这是我的KML的一个非常简单的版本:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Placemark>
<name>SUNSHINE CHEVRON</name>
<description>HIALEAH</description>
<Point>
    <coordinates>25.872066,-80.282852,0</coordinates>
</Point>
</Placemark>
</kml>
Run Code Online (Sandbox Code Playgroud)

当我尝试创建地图并导入此点时,它会显示在Antartica中.

有什么想法吗?我使用http://kmlvalidator.com/验证了该文件,它返回时没有错误.

你能告诉我我做错了什么吗?

geo*_*zip 6

请参阅坐标文档,坐标是经度,纬度,[海拔]

A single tuple consisting of floating point values for longitude, latitude, 
and altitude (in that order). Longitude and latitude values are in degrees, 
where:

   longitude ? ?180 and <= 180
   latitude ? ?90 and ? 90
   altitude values (optional) are in meters above sea level
Run Code Online (Sandbox Code Playgroud)

不要在描述坐标的三个值之间包含空格.

所以他们应该是:

<coordinates>-80.282852,25.872066</coordinates>
Run Code Online (Sandbox Code Playgroud)

(假设你想在佛罗里达州的地标)