Type Alias ImageMetadata

The metadata of the image. This is the shape of the response from the API. And used to convert px to lnglat and vice versa.

type ImageMetadata = {
    attribution: string;
    description: string;
    height: number;
    id: string;
    maxzoom: number;
    minzoom: number;
    tileSize: number;
    width: number;
}
Index

Properties

attribution: string
description: string
height: number
id: string
maxzoom: number
minzoom: number
tileSize: number
width: number
Was this helpful?