---
title: "Selection | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Variable Selection

Selection: { prototype: [Selection](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Selection/); new (): [Selection](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Selection/) }

#### Type Declaration

-   -   new (): [Selection](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Selection/)
    -   #### Returns [Selection](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Selection/)
        
-   ##### prototype: [Selection](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Selection/)
