GeoLeaf Core API - v3.0.0
    Preparing search index...

    Static image overlay configuration for basemaps with type: "image". The image is rendered at fixed geographic coordinates (georeferenced).

    interface ImageSourceConfig {
        url: string;
        coordinates?: [
            [number, number],
            [number, number],
            [number, number],
            [number, number],
        ];
        opacity?: number;
    }
    Index

    Properties

    url: string

    URL of the image (raster, not tiled). Supports http/https/data URIs.

    coordinates?: [
        [number, number],
        [number, number],
        [number, number],
        [number, number],
    ]

    Corner coordinates of the image in geographic [lng, lat] order: [topLeft, topRight, bottomRight, bottomLeft]. Defaults to world bounds if omitted or invalid.

    opacity?: number

    Raster opacity (0–1). Default: 1.