---
title: new Search(options)
framework: mapkitjs
role: symbol
role_heading: Constructor
path: mapkitjs/search/searchconstructor
---

# new Search(options)

Creates a search object with optional initial values that you provide.

## Declaration

```data
constructor(options?: SearchConstructorOptions);
```

## Discussion

Discussion To use search, create an instance of a Search. You can optionally set properties of the search object by providing a dictionary of SearchConstructorOptions on initialization. const search = new mapkit.Search({     language: "en-GB",     getsUserLocation: true,     region: map.region });

## See Also

### Creating a search

- [SearchConstructorOptions](mapkitjs/searchconstructoroptions.md)
