Request Parameters Playground

Welcome to the interactive playground for the requestParams prop. Use the controls below to build a custom configuration object and see how it affects the autocomplete suggestions in real-time.

Each change you make will instantly update the code snippet and the behavior of the search component on the right.

284 items.
249 items.

Strictly filter by up to 15 countries (CLDR codes).

Filter by up to 5 place types.

Use the map to set a geographical preference. Bias prefers results in an area, while Restriction strictly limits them.

Set an origin point to calculate the straight-line distance to each prediction.

Live Request Parameters

This is the requestParams object being passed to the component.

{
  "language": "en-gb",
  "region": "GB"
}

2025 Places Autocomplete Svelte.