---
title: ImageHashObject
framework: mapkitjs
role: symbol
role_heading: Type
path: mapkitjs/imagehashobject
---

# ImageHashObject

An object that defines a set of images URLs for different scales.

## Declaration

```data
type ImageHashObject = Record<string, string | undefined> & {};
```

## Mentioned in

MapKit JS 6 Migrating from Version 5 to Version 6

## Discussion

Discussion The framework automatically loads the appropriate image for the device’s screen scale. Use ImageDelegate to dynamically provide images for different scales, or use an ImageSource to provide a preloaded or dynamically generated image directly.

## See Also

### Setting images

- [ImageDelegate](mapkitjs/imagedelegate.md)
- [ImageSource](mapkitjs/imagesource.md)
