PointLike
PointLike =
Point| [number,number]
Point или массив из двух чисел, представляющих x и y экранные координаты в пикселях.
Пример
let p1 = new Point(-77, 38); // a PointLike which is a Point let p2 = [-77, 38]; // a PointLike which is an array of two numbers
© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/PointLike/