---
title: "GeometryCollection | 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 GeometryCollection<G>

Geometry Collection [https://tools.ietf.org/html/rfc7946#section-3.1.8](https://tools.ietf.org/html/rfc7946#section-3.1.8)

interface GeometryCollection<[G](#g) extends [Geometry](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Geometry/) \= [Geometry](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Geometry/)\> {  
    [bbox](#bbox)?: [BBox](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.BBox/);  
    [geometries](#geometries): [G](#g)\[\];  
    [type](#type): "GeometryCollection";  
}

#### Type Parameters

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

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

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

##### Index

### Properties[](#properties)

[bbox?](#bbox) [geometries](#geometries) [type](#type)

## Properties[](#properties-1)

### `Optional`bbox[](#bbox)

bbox?: [BBox](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.BBox/)

Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2\*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. [https://tools.ietf.org/html/rfc7946#section-5](https://tools.ietf.org/html/rfc7946#section-5)

Inherited from [GeoJsonObject](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GeoJsonObject/).[bbox](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GeoJsonObject/#bbox)

### geometries[](#geometries)

geometries: [G](#g)\[\]

### type[](#type)

type: "GeometryCollection"

Specifies the type of GeoJSON object.

Overrides [GeoJsonObject](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GeoJsonObject/).[type](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GeoJsonObject/#type)
