2016-09-25 165 views

回答

0

是的,但是你必須倒置lat和lng。

例如,如果你在巴黎的點擊,你會得到以下與GoogleMap的座標:48.857031,2.346526

如果產生一些以GeoJSON與http://geojson.io/您將獲得:

{ 
    "type": "FeatureCollection", 
    "features": [ 
    { 
     "type": "Feature", 
     "properties": {}, 
     "geometry": { 
     "type": "Point", 
     "coordinates": [ 
      2.349529266357422, 
      48.856414043180365 
     ] 
     } 
    } 
    ] 
} 

還要注意,GoogleMap的唯一手柄6位小數(這是充足的)