> 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.

# Search POI Categories

```js
// Sample Usage
const service = new MapxusMap.PoisService();
const buildingId = 'vivocity_foshan_d3fmv9';
service.searchCategories({buildingId});
```

**Parameters**

| Parameter | Type                     | Description                                                                           |
| --------- | ------------------------ | ------------------------------------------------------------------------------------- |
| options   | TSearchCategoriesOptions | \{venueId} or \{buildingId} or \{floorId} or \{sharedFloorId} or \{bounds, keywords?} |

**\{venueId} / \{buildingId} / \{floorId} / \{bounds, keywords?}** : Search POI categories by 4 types of scopes. **Required**

**Returns** `TPromiseCategories`
ICategoryGroupItem:

- category
- description
- id
- title
- count
- featureType
- parents
- venueId
- venueName

Sample web page:

<iframe src="https://map-service.mapxus.com/bssww/poiSearchCategories" width="100%" height="550px"></iframe>
