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

# Type Alias MapGeoJSONFeature

MapGeoJSONFeature: [GeoJSONFeature](https://docs.maptiler.com/sdk-js/api-reference/classes/GeoJSONFeature/) & {  
    layer: [DistributiveOmit](https://docs.maptiler.com/sdk-js/api-reference/types/DistributiveOmit/)<[LayerSpecification](https://docs.maptiler.com/sdk-js/api-reference/types/LayerSpecification/), "source"\> & {  
        source: string;  
    };  
    source: string;  
    sourceLayer?: string;  
    state: { \[key: string\]: any };  
}

An extended geojson feature used by the events to return data to the listener
