Returns the X and Y values of a coordinate on the nearest road from the given point. NOTE that this function does not use vec2 or vec3. It uses individual values representing a vec2 for x and y.
Valid road type values: 'roads' and 'railroads'
{"roads" | "railroads"} The type of road to get the closest point from.
{number} The X value of the point to get the closest road point from.
{number} The Y value of the point to get the closest road point from.
Returns the distance from sea level (y-axis) of a given vec2 point.
The point to get the height of.
The height of the point.
No Self