---
title: "Iterable | 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.

# Interface Iterable<T, TReturn, TNext>

interface Iterable<[T](#t), [TReturn](#treturn) \= any, [TNext](#tnext) \= any\> {  
    ["\[iterator\]"](#iterator-1)(): [Iterator](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Iterator/)<[T](#t), [TReturn](#treturn), [TNext](#tnext)\>;  
}

#### Type Parameters

-   T
-   TReturn = any
-   TNext = any

#### Hierarchy ([View Summary](https://docs.maptiler.com/sdk-js/api-reference/hierarchy/#Externals.Iterable))

-   Iterable
    -   [IndexedCollection](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.IndexedCollection/)

#### Implemented by

-   [default](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.default-1/)

##### Index

### Methods[](#methods)

[\[iterator\]](#iterator)

## Methods[](#methods-1)

### \[iterator\][](#iterator)

-   "\[iterator\]"(): [Iterator](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Iterator/)<[T](#t), [TReturn](#treturn), [TNext](#tnext)\>[](#iterator-1)
    
    #### Returns [Iterator](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Iterator/)<[T](#t), [TReturn](#treturn), [TNext](#tnext)\>
