1
我在找一個基於GeoJSON數據的JavaScript地圖。我可以從coordinates
的數組中計算出Polygon的中心點嗎?例如與:GeoJSON多邊形的中心
{
"data": {
"type": "Polygon",
"coordinates": [
[
[
-9.31640625,
43.83452678223682
],
/* etc */
]
]
}
}
你的案例中多邊形的中心究竟是什麼? – 2013-03-05 23:47:21