UNPKG

mobility-toolbox-js

Version:

Toolbox for JavaScript applications in the domains of mobility and logistics.

9 lines (8 loc) 348 B
import { AnyMapGlMap } from '../../types'; /** * Get the canvas source coordinates of the current map's extent. * @param {maplibregl.Map} map A map object. * @param {number} [pixelRatio=1] The pixel ratio. */ export declare const getSourceCoordinates: (map: AnyMapGlMap, pixelRatio?: number) => number[][]; export default getSourceCoordinates;