> For AI agents: the complete documentation index is available at /jp/core-sdk/map/web/llms.txt, the full documentation bundle is available at /jp/core-sdk/map/web/llms-full.txt.

# Search POIs within the Radius (Center Point + Distance)

```js
// Sample Usage
const service = new MapxusMap.PoisService();
const keywords = "Broadway";
const center = [114.1113792, 22.3707381];
const distance = 40;
service.searchByDistance({ keywords, center, distance });
```

**Parameters**

| Parameter | Type                     | Description                                      |
| --------- | ------------------------ | ------------------------------------------------ |
| options   | ISearchByDistanceOptions | \{ center, distance, keywords?, offset?, page? } |

- **center**(type \[number, number], required): the center point of the search area, \[longitude, latitude] format.
- **distance**(type number, required): search radius, the unit is meter.
- **keywords**(type string, optional): POI name keyword.
- **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) Parameter 'distance' cannot exceed **10,000**.
> (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:

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