Skip to content

Commit 2bd7ca9

Browse files
committed
Coordinates: fix interpolate typings (again)
1 parent ab4df71 commit 2bd7ca9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/vector_tile/coordinates.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ defmodule VectorTile.Coordinates do
2424
# y = 0, because it's on the north edge of the tile's bounding box
2525
2626
"""
27-
@spec interpolate(coordinate :: list(number()), tile :: VectorTile.Tile.t() | Keyword.t()) ::
28-
list(integer())
27+
@spec interpolate(coordinate :: list(number()), tile :: map() | Keyword.t()) :: list(integer())
2928
def interpolate([x, y] = _coordinate, opts) when is_number(x) and is_number(y) do
3029
bbox = Access.fetch!(opts, :bbox)
3130
extent = Access.get(opts, :extent, 4096)

0 commit comments

Comments
 (0)