Search Building within an Area
The building search service is used to search for a building in Mapxus Map.
Parameters
- bounds(type [[number, number], [number, number]], required): rectangular range of the searching area, in the format of [[min_lon, min_lat], [max_lon, max_lat]].
- keywords(type string, optional): keywords of the building name.
- offset(type number, optional): quantity per request, default is 10.
- page(type number, optional): page number, default is 1.
Special Note: The parameter 'offset' has limitations, the maximum value for each request must not exceed 100. If you need to request more than 100 records of data, please make paginated requests.
Returns TPromiseBuildings
IBuilding:
- address
- bbox
- city?
- country
- description
- labelCenter
- name
- region
- type
- buildingId
- buildingName
- buildingOutlineId
- defaultFloor?
- floors
- groundFloor
- isPrivate
- organization
- venueId
- venueName
Sample web page:

