map
This commit is contained in:
@@ -33,11 +33,11 @@ export const queryMapAllStation = () => {
|
||||
},
|
||||
{
|
||||
"station_id": 2,
|
||||
"station_code": "Goal_21",
|
||||
"station_name": "Goal_21",
|
||||
"station_type": "SYSTEM",
|
||||
"action_type": "Move",
|
||||
"x": 100.30318,
|
||||
"station_code": "B1",
|
||||
"station_name": "B1",
|
||||
"station_type": "STATION",
|
||||
"action_type": "Customize",
|
||||
"x": -3.30318,
|
||||
"y": 0.123685,
|
||||
"angle": 0.0959
|
||||
},
|
||||
@@ -47,7 +47,7 @@ export const queryMapAllStation = () => {
|
||||
"station_name": "C",
|
||||
"station_type": "STATION",
|
||||
"action_type": "Customize",
|
||||
"x": 200.0227,
|
||||
"x": -6.0227,
|
||||
"y": 0.316379,
|
||||
"angle": 0.136773
|
||||
}
|
||||
@@ -56,29 +56,29 @@ export const queryMapAllStation = () => {
|
||||
}
|
||||
export const getRouteInfo = () => {
|
||||
let res = [
|
||||
{
|
||||
"route_id": 1,
|
||||
"start_id": 1,
|
||||
"end_id": 2,
|
||||
"start_x": 0.0,
|
||||
"start_y": 0.0,
|
||||
"end_x": 100.30318,
|
||||
"end_y": 0.123685,
|
||||
"navigation_mode": "1",
|
||||
"route_type": "1"
|
||||
},
|
||||
{
|
||||
"route_id": 2,
|
||||
"start_id": 2,
|
||||
"end_id": 3,
|
||||
"start_x": -100.30318,
|
||||
"start_y": 0.123685,
|
||||
"end_x": 200.0227,
|
||||
"end_y": 0.316379,
|
||||
"navigation_mode": "0",
|
||||
"route_type": "1"
|
||||
}
|
||||
]
|
||||
{
|
||||
"route_id": 1,
|
||||
"start_id": 1,
|
||||
"end_id": 2,
|
||||
"start_x": 0.0,
|
||||
"start_y": 0.0,
|
||||
"end_x": -3.30318,
|
||||
"end_y": 0.123685,
|
||||
"navigation_mode": "1",
|
||||
"route_type": "1"
|
||||
},
|
||||
{
|
||||
"route_id": 2,
|
||||
"start_id": 2,
|
||||
"end_id": 3,
|
||||
"start_x": -3.30318,
|
||||
"start_y": 0.123685,
|
||||
"end_x": -6.0227,
|
||||
"end_y": 0.316379,
|
||||
"navigation_mode": "0",
|
||||
"route_type": "1"
|
||||
}
|
||||
]
|
||||
return res
|
||||
}
|
||||
export const imageUrl = require('../images/new/apt_map.png')
|
||||
@@ -89,7 +89,7 @@ export const getMapInfoByCode = () => {
|
||||
"mapImageAddress": imageUrl,
|
||||
"width": 359.0,
|
||||
"height": 287.0,
|
||||
"resolution": 1,
|
||||
"resolution": 0.05,
|
||||
"x": -13.7,
|
||||
"y": -7.1,
|
||||
"angle": 0.0
|
||||
|
||||
Reference in New Issue
Block a user