For AI agents: the complete documentation index is available at /core-sdk/map/web/llms.txt, the full documentation bundle is available at /core-sdk/map/web/llms-full.txt, and this page is available as Markdown at /core-sdk/map/web/v10/07-poi-search/05-search-by-bounds.md.
MapxusDeveloper Platform
Products
Positioning APIAccess real-time indoor coordinates and contextual signals.API
UI SDKProduction-ready indoor map interfaces and UI components.AndroidiOS

Search POIs within a Rectangular Area

// Sample Usage
const service = new MapxusMap.PoisService();

service.searchByBounds(
    {
	    bounds: [[114.15816, 22.30124], [114.16561, 22.30908]],
	    orderBy: MapxusMap.PoisOrderBy.DEFAULT_NAME
    }
);

Parameters

ParameterTypeDescription
optionsIPoiSearchByBoundsOptions{ bounds, keywords?, orderBy?, offset?, page? }
  • bounds(type [[number, number], [number, number]], required): An array of LngLat coordinates in [sw, ne] order.
  • keywords(type string, optional): POI name keyword.
  • orderBy(type MapxusMap.PoisOrderBy, optional): POIs' order, cannot be used with 'keywords' at the same time. Available values: MapxusMap.PoisOrderBy.DEFAULT_NAME
  • offset(type number, optional): Quantity per page, the maximum is 100, default is 10.
  • page(type number, optional): Results for specified page number. Default is 1.

Special Note: (1) The area of the 'bbox' parameter cannot exceed 400km². (2) Parameter 'offset' cannot exceed 100.

Returns TPromisePois<IPoi | ISharedPoi> IPoi:

  • floor
  • floorId
  • accessibilityDetail
  • category
  • descriptions
  • distance?
  • id
  • location
  • name
  • osmRefId
  • poiId
  • buildingId
  • venueId

ISharedPoi:

  • sharedFloorId
  • sharedFloorNames
  • accessibilityDetail
  • category
  • descriptions
  • distance?
  • id
  • location
  • name
  • osmRefId
  • poiId
  • buildingId
  • venueId

Sample web page: