如何用纬度和经度显示地点?
How to show place with Latitude and Longitude?
我正在处理 Google 外卖。
他们用 json 文件给我数据。
{
"timelineObjects" : [ {
"placeVisit" : {
"location" : {
"latitudeE7" : 129255490,
"longitudeE7" : 776649940,
"placeId" : "ChIJ_ZQgWXcTrjsR7t4Sqb3Pmi8",
"address" : "#101, 10th Block, Suncity Corporate Leisure\nSarjapura Outer Ring Road\nIblur Village, Bellandur\nBengaluru, Karnataka 560102\nIndia",
"name" : "Cheese Care",
"locationConfidence" : 99.093636
},
"duration" : {
"startTimestampMs" : "1358972055436",
"endTimestampMs" : "1360407467023"
},
"centerLatE7" : 129255325,
"centerLngE7" : 776650031,
"visitConfidence" : 64,
"otherCandidateLocations" : [ {
"latitudeE7" : 129253900,
"longitudeE7" : 776647590,
"placeId" : "ChIJjwwbqoITrjsR95ZXtjEF2tU",
"name" : "Zenith",
"locationConfidence" : 0.5477843
}],
"editConfirmationStatus" : "NOT_CONFIRMED"
}
} ]
}
我不知道如何用这些 latitudeE7
和 longitudeE7
显示地点。它们非常有价值!!!
将每个 Latitude
和 Longitude
乘以
0.0000001
我正在处理 Google 外卖。 他们用 json 文件给我数据。
{
"timelineObjects" : [ {
"placeVisit" : {
"location" : {
"latitudeE7" : 129255490,
"longitudeE7" : 776649940,
"placeId" : "ChIJ_ZQgWXcTrjsR7t4Sqb3Pmi8",
"address" : "#101, 10th Block, Suncity Corporate Leisure\nSarjapura Outer Ring Road\nIblur Village, Bellandur\nBengaluru, Karnataka 560102\nIndia",
"name" : "Cheese Care",
"locationConfidence" : 99.093636
},
"duration" : {
"startTimestampMs" : "1358972055436",
"endTimestampMs" : "1360407467023"
},
"centerLatE7" : 129255325,
"centerLngE7" : 776650031,
"visitConfidence" : 64,
"otherCandidateLocations" : [ {
"latitudeE7" : 129253900,
"longitudeE7" : 776647590,
"placeId" : "ChIJjwwbqoITrjsR95ZXtjEF2tU",
"name" : "Zenith",
"locationConfidence" : 0.5477843
}],
"editConfirmationStatus" : "NOT_CONFIRMED"
}
} ]
}
我不知道如何用这些 latitudeE7
和 longitudeE7
显示地点。它们非常有价值!!!
将每个 Latitude
和 Longitude
乘以
0.0000001