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

Options for calculating an anchored camera.

type AnchoredCameraOptions \= {  
    [anchorLocation](#anchorlocation): [LngLatLike](https://docs.maptiler.com/sdk-js/api-reference/types/LngLatLike/);  
    [anchorScreenPoint](#anchorscreenpoint): [PointLike](https://docs.maptiler.com/sdk-js/api-reference/types/PointLike/);  
    [zoom](#zoom)?: number;  
}

##### Index

### Properties

[anchorLocation](#anchorlocation) [anchorScreenPoint](#anchorscreenpoint) [zoom?](#zoom)

## Properties

### anchorLocation[](#anchorlocation)

anchorLocation: [LngLatLike](https://docs.maptiler.com/sdk-js/api-reference/types/LngLatLike/)

Geographic location to anchor.

### anchorScreenPoint[](#anchorscreenpoint)

anchorScreenPoint: [PointLike](https://docs.maptiler.com/sdk-js/api-reference/types/PointLike/)

Screen position for the anchor.

### `Optional`zoom[](#zoom)

zoom?: number

Desired zoom level.
