我正在尝试在 Kibana 3 中使用 bettermap 来查看纬度/经度数据。我的地理位置显示在非洲的地图中,因为我指定的纬度/经度是针对美国的。
任何相同的帮助将不胜感激?
我的映射文件是
{"mappings" : {
"livestats" : {
"_source" : {
"enabled" : true
},
"_timestamp" : {
"enabled" : true
},
"_all" : {
"enabled" : false
},
"properties" : {
"state" : { "type" : "string", "index" : "not_analyzed", "store" : "yes" },
"LatLng" : { "type" : "geo_point" , "index" : "analyzed", "store" : "yes"}
}
}
}
}
和虚拟数据是
{"create":{"_index":"livestats","_type":"livestats"}}
{"state":"CA","LatLng":[-118.252,34.0433]}
谢谢