<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/ImageHashObject",
  "metadataVersion" : "0.1.0",
  "role" : "Type",
  "symbol" : {
    "kind" : "Type",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "type/mapkit.ImageHashObject"
  },
  "title" : "ImageHashObject"
}
-->

# ImageHashObject

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

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

## Discussion

The framework automatically loads the appropriate image for the device’s screen scale. Use [`ImageDelegate`](/documentation/MapKitJS/ImageDelegate) to dynamically provide images for different scales, or use an [`ImageSource`](/documentation/MapKitJS/ImageSource) to provide a preloaded or dynamically generated image directly.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)