退出geojson在我编辑其中一个要素的坐标之前运作良好,但是当我编辑并添加坐标时
{
"type":"Feature",
"id":"2",
"properties":{
"name":"Brewery"
},
"geometry":{
"type":"Polygon",
"coordinates":[
[
["13.40606689453125","12.207153501451728"],
["13.89495849609375","11.237674247415999"],
["14.401702880859375","11.545961968405738"],
["14.183349609375","11.962753823592042"],
["13.901824951171875","12.476805422291443"],
["13.40606689453125","12.207153501451728"]
]]
}
}
streetsall.json, 初始坐标
["13.845133781433105","12.443952300713601"],
["14.112303256988524","11.964831990561656"],
["13.743875026702879","11.756096359366945"],
["13.472918272018433","12.244964223163047"],
["13.845133781433105","12.443952300713601"]
然后打开我的地图,这完全毁了我的地图!是geojson记忆初始数据,又不能再次编辑坐标?即使我尝试在新文件中复制新的geojson它也不起作用。但是当我将数据作为初始数据返回时,它确实有效!我真的很困惑!
=============================================== =========================== 问题是我的新坐标点不是顺时针方向。