PointLike
PointLike =
Point| [number,number]
A Point or an array of two numbers representing x and y screen coordinates in pixels.
Example
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/