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

# Function eachProperty

-   eachProperty(  
        style: [StyleSpecification](https://docs.maptiler.com/sdk-js/api-reference/types/StyleSpecification/),  
        options: { layout?: boolean; paint?: boolean },  
        callback: [PropertyCallback](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.PropertyCallback/),  
    ): void[](#eachproperty)
    
    #### Parameters
    
    -   style: [StyleSpecification](https://docs.maptiler.com/sdk-js/api-reference/types/StyleSpecification/)
    -   options: { layout?: boolean; paint?: boolean }
    -   callback: [PropertyCallback](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.PropertyCallback/)
    
    #### Returns void
