isLocationOnPath() android google map?
<p>In my <code>onLocationChanged</code> I am using from :</p>

<pre><code>boolean isOnRoute = PolyUtil.isLocationOnPath(ltln, pointList, false, 10.0f);
</code></pre>

<p>But crash me and say :</p>

<p><a href="https://i.stack.imgur.com/LTnI3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LTnI3.png" alt="enter image description here"></a></p>