Description Usage Arguments Details Value Note Examples
Given two H3 indexes, return the line of indexes between them (inclusive).
1 | h3_line(origin, destination)
|
origin, destination |
H3indices to draw line. |
This function may fail to find the line between two indexes, for example if they are very far apart. It may also fail when finding distances for indexes on opposite sides of a pentagon.
A list of h3indices drawing line.
Lines are drawn in grid space, and may not correspond exactly to either Cartesian lines or great arcs.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.