---
title: "WindowPostMessageOptions | 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 WindowPostMessageOptions

interface WindowPostMessageOptions {  
    [targetOrigin](#targetorigin)?: string;  
    [transfer](#transfer)?: [Transferable](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Transferable/)\[\];  
}

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

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

##### Index

### Properties[](#properties)

[targetOrigin?](#targetorigin) [transfer?](#transfer)

## Properties[](#properties-1)

### `Optional`targetOrigin[](#targetorigin)

targetOrigin?: string

### `Optional`transfer[](#transfer)

transfer?: [Transferable](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Transferable/)\[\]

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