我使用 Leaflet L.TitleLayer 在地图上显示了网格切片图层。现在,我有一个 geojson 文件并想在地图上显示。
{
"type":"FeatureCollection",
"features":[
{
"type":"Feature",
"id":1,
"properties":{
"Entity":"LWPolyline",
"Handle":"5D11",
"Layer":"JMD",
"LyrFrzn":0,
"LyrLock":0,
"LyrOn":1,
"LyrVPFrzn":0,
"LyrHandle":"16D",
"Color":6,
"EntColor":-1,
"LyrColor":6,
"BlkColor":0,
"Linetype":"Continuous",
"EntLinetyp":"Continuous",
"LyrLnType":"Continuous",
"BlkLinetyp":null,
"Elevation":0.000000,
"Thickness":0.000000,
"LineWt":0,
"EntLineWt":0,
"LyrLineWt":0,
"BlkLineWt":-1,
"RefName":null,
"LTScale":1.000000,
"ExtX":0.000000,
"ExtY":0.000000,
"ExtZ":1.000000,
"DocName":"03.dxf",
"DocPath":"F:\\dataChange\\03.dxf",
"DocType":"DXF",
"DocVer":"AC1021",
"height":0.000000,
"Shape_Leng":18.192087
},
"geometry":{
"type":"LineString",
"coordinates":[
[
3121034.4810791016,
534863.26330566406
],
[
3121039.9448852539,
534866.55871582031
],
[
3121041.3472900391,
534864.23352050781
],
[
3121035.8834838867,
534860.93811035156
],
[
3121034.4810791016,
534863.26330566406
]
]
}
}
]
}
我应该选择什么地图来完成它?因为geojson太大(上面的代码只是其中的一部分),我需要使用vectorTile。谢谢!