Search Surrounding POIs Based on the User's Location and Orientation
Parameters
- buildingId / floorId / ordinal(type string, required): One of buildingId, floorId and ordinal.
- center(type [number, number], required): User's position, [lng, lat].
- angle(type number, required): The angle between the user's orientation and true north.
- distance(type number, required): The radius with 'center' as the center of the circle.
- distanceSearchType(type DistanceSearchType, optional): The type of POI, default is 'Point'.
- offset(type number, optional): quantity per request, default is 10.
- page(type number, optional): page number, default is 1.
Special Note: (1) Parameter 'distance' cannot exceed 10,000. (2) This API returns a maximum of 100 records. (3) Search priority: ordinal > floorId > buildingId.
Returns TPromiseOrientationPois
IOrientationNormalPoi:
- floor
- floorId
- angle
- category
- descriptions
- distance
- distanceSource
- id
- location
- name
- osmRefId
- poiId
- buildingId
IOrientationSharedPoi:
- sharedFloorId
- sharedFloorNames
- angle
- category
- descriptions
- distance
- distanceSource
- id
- location
- name
- osmRefId
- poiId
Sample web page:

