For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Calculates the average distance between points in an array of coordinates.
This function computes the average distance between consecutive points in the array. It uses the LngLat class from MapLibre to calculate distances based on geographical coordinates.