We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d7395a commit ab4df71Copy full SHA for ab4df71
lib/vector_tile/coordinates.ex
@@ -24,7 +24,7 @@ defmodule VectorTile.Coordinates do
24
# y = 0, because it's on the north edge of the tile's bounding box
25
26
"""
27
- @spec interpolate(coordinate :: list(integer()), tile :: VectorTile.Tile.t() | Keyword.t()) ::
+ @spec interpolate(coordinate :: list(number()), tile :: VectorTile.Tile.t() | Keyword.t()) ::
28
list(integer())
29
def interpolate([x, y] = _coordinate, opts) when is_number(x) and is_number(y) do
30
bbox = Access.fetch!(opts, :bbox)
0 commit comments