# RequestedImage

A request with every default filled in and its size checked.

This is an interface exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { RequestedImage } from "@mapcairn/core";
 
interface RequestedImage
```

## Properties

### pixelHeight

```ts
readonly pixelHeight: number;
```

The image's height in pixels, as the engine rounds it.

### pixelRatio

```ts
readonly pixelRatio: number;
```

How many image pixels there are for each CSS pixel.

### pixelWidth

```ts
readonly pixelWidth: number;
```

The image's width in pixels, as the engine rounds it.

### size

```ts
readonly size: MapImageSize;
```

The map's size in CSS pixels.

### view

```ts
readonly view: MapImageView;
```

The view the image shows.

## See also

- [`MapImageSize`](https://docs.mapcairn.com/api/core/MapImageSize.md)
- [`MapImageView`](https://docs.mapcairn.com/api/core/MapImageView.md)

Source: [packages/core/src/imageExport/plan.ts:46](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/imageExport/plan.ts#L46)
