From dadc0d973655f6b22046524c8ee019374174f52b Mon Sep 17 00:00:00 2001 From: Stefan Fochler Date: Thu, 4 Dec 2025 10:57:17 +0100 Subject: [PATCH] Coordinates: fix interpolate typings (again) --- lib/vector_tile/coordinates.ex | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/vector_tile/coordinates.ex b/lib/vector_tile/coordinates.ex index 527752e..5ff7a18 100644 --- a/lib/vector_tile/coordinates.ex +++ b/lib/vector_tile/coordinates.ex @@ -24,8 +24,7 @@ defmodule VectorTile.Coordinates do # y = 0, because it's on the north edge of the tile's bounding box """ - @spec interpolate(coordinate :: list(number()), tile :: VectorTile.Tile.t() | Keyword.t()) :: - list(integer()) + @spec interpolate(coordinate :: list(number()), tile :: map() | Keyword.t()) :: list(integer()) def interpolate([x, y] = _coordinate, opts) when is_number(x) and is_number(y) do bbox = Access.fetch!(opts, :bbox) extent = Access.get(opts, :extent, 4096)