Point-to-Point Pathway
Mapxus Map supports route planning of 2 or more points.
Parameters
- points(type array, required): an array of points, 1 < {points.length} < 6. Each point is an object with 4 properties:
- lat(type number, required): latitude of the point.
- lon(type number, required): longitude of the point.
- floorId(type string, optional): floor ID of the point.
- vehicle(type MapxusMap.VehicleType, optional): vehicle type, default is "MapxusMap.VehicleType.FOOT".
- locale(type MapxusMap.PresetLanguage, optional): language-specific response.
Returns TPromiseRoute
IRoutePath:
- bbox
- distance
- instructions
- points
- snapped_waypoints
- time
IInstruction:
- building_id
- distance
- floor_id
- heading
- interval
- on_shared_floor
- ordinal
- sign
- street_name
- text
- time
- type
- venue_id
Sample web page:

