---
title: "GeoJSON | 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 GeoJSON<G, P>

GeoJSON: [G](#g) | [Feature](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Feature/)<[G](#g), [P](#p)\> | [FeatureCollection](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.FeatureCollection/)<[G](#g), [P](#p)\>

Union of GeoJSON objects.

#### Type Parameters

-   G extends [Geometry](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Geometry/) | null = [Geometry](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Geometry/)
-   P = [GeoJsonProperties](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.GeoJsonProperties/)
