hookehuyr

定位功能调整

/*
* @Date: 2023-07-21 14:25:45
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-07-24 11:25:29
* @LastEditTime: 2023-07-24 22:35:08
* @FilePath: /map-demo/src/common/inner_router.js
* @Description: 文件描述
*/
......@@ -21,12 +21,29 @@ const testInfo = [
[120.587233, 31.314961],
[120.587205, 31.315508],
[120.587197, 31.315602],
[120.587564, 31.315631],
[120.587563, 31.315637],
[120.587549, 31.315865],
],
distance: '',
},
{
id: 0,
path: [
[120.588288, 31.314212],
[120.587711, 31.314184],
[120.587694, 31.314368],
[120.587662, 31.314585],
[120.587474, 31.314573],
[120.587453, 31.314773],
[120.58765, 31.314786],
[120.587453, 31.314773],
[120.587422, 31.314937],
[120.587233, 31.314961],
[120.587205, 31.315508],
[120.587197, 31.315602],
[120.586621, 31.315511],
[120.586368, 31.315492],
[120.586123, 31.315362],
[120.585778, 31.31531],
[120.586619, 31.315514],
[120.58612, 31.315377],
[120.585628, 31.315353],
],
distance: '',
},
......@@ -74,34 +91,78 @@ const testInfo = [
[120.586816, 31.314399],
[120.586747, 31.314405],
[120.586738, 31.314469],
[120.585985, 31.314409],
[120.585984, 31.314337],
[120.585887, 31.314318],
[120.585895, 31.314159],
[120.585598, 31.314131],
[120.585412, 31.314195],
[120.585225, 31.314164],
[120.585152, 31.314032],
[120.585234, 31.313942],
[120.585311, 31.313884],
[120.585415, 31.313934],
[120.585601, 31.313955],
[120.585889, 31.313961],
[120.586052, 31.31397],
[120.586081, 31.313569],
[120.586081, 31.313569],
[120.585678, 31.313533],
[120.586081, 31.313569],
[120.586083, 31.31353],
[120.58643, 31.313572],
[120.586083, 31.31353],
[120.586094, 31.3134],
[120.585709, 31.313362],
[120.586094, 31.3134],
[120.586101, 31.313334],
[120.586365, 31.31335],
[120.586101, 31.313334],
[120.586118, 31.313165],
[120.586424, 31.314448],
[120.586466, 31.314068],
[120.586472, 31.31381],
[120.586494, 31.313578],
[120.586522, 31.313195],
],
distance: '',
},
{
id: 3,
path: [
[120.588191, 31.314226],
[120.587711, 31.314177],
[120.587691, 31.314343],
[120.587239, 31.314309],
[120.586816, 31.314399],
[120.586747, 31.314405],
[120.586738, 31.314469],
[120.586424, 31.314448],
[120.585995, 31.314408],
[120.585996, 31.314362],
[120.585862, 31.314356],
[120.585654, 31.314337],
[120.585534, 31.314196],
[120.585375, 31.314183],
[120.585192, 31.314135],
[120.585152, 31.314019],
[120.585285, 31.313893],
[120.585414, 31.313943],
[120.5856, 31.313955],
[120.585902, 31.313956],
],
distance: '',
},
{
id: 3,
path: [
[120.588191, 31.314226],
[120.587711, 31.314177],
[120.587691, 31.314343],
[120.587239, 31.314309],
[120.586816, 31.314399],
[120.586747, 31.314405],
[120.586738, 31.314469],
[120.586424, 31.314448],
[120.585995, 31.314403],
[120.586075, 31.313569],
[120.586086, 31.313265],
[120.586142, 31.313178],
],
distance: '',
},
{
id: 3,
path: [
[120.588191, 31.314226],
[120.587711, 31.314177],
[120.587691, 31.314343],
[120.587239, 31.314309],
[120.586816, 31.314399],
[120.586747, 31.314405],
[120.586738, 31.314469],
[120.586424, 31.314448],
[120.585995, 31.314403],
[120.585996, 31.314263],
[120.585906, 31.314257],
[120.585915, 31.313951],
[120.58566, 31.313935],
[120.585666, 31.313733],
[120.585695, 31.313533],
[120.585718, 31.313344],
[120.585752, 31.313091],
],
distance: '',
},
......
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.