getIntersectionWithRay(ray: PP.Ray);
ray. Beam that intersects map layer area. The is a JSON object with the following properties: start - beam start point, dir - point that determines beam direction.
The getIntersectionWithRay method returns the distance from the beam beginning to its crossing with an arrow on the map.
The method returns a Number type value.
The method is under development.
See also: