You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="platform-hinted " data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content" data-active="" data-togglable=":library:dokkaHtml/release"><divclass="symbol monospace"><divclass="block"><divclass="block"><spanclass="token annotation builtin">@</span><ahref="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-static/index.html"><spanclass="token annotation builtin">JvmStatic</span></a></div></div><spanclass="token keyword">fun </span><ahref="get-point-on-polyline.html"><spanclass="token function">getPointOnPolyline</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">polyline<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html">List</a><spanclass="token operator"><</span><spandata-unresolved-link="com.google.android.gms.maps.model/LatLng///PointingToDeclaration/">LatLng</span><spanclass="token operator">></span><spanclass="token punctuation">, </span></span><spanclass="parameter ">percentage<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html">Double</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><spandata-unresolved-link="com.google.android.gms.maps.model/LatLng///PointingToDeclaration/">LatLng</span><spanclass="token operator">?</span></div><pclass="paragraph">Returns the point on a polyline that is a given percentage of the total length of the polyline.</p><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">the <codeclass="lang-kotlin">LatLng</code> of the point on the polyline, or <codeclass="lang-kotlin">null</code> if the polyline is empty or the percentage is outside the range 0, 1</p></span><h4class="">Parameters</h4><divclass="table"><divclass="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span><span>polyline</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">the polyline</p></div></div></div></div><divclass="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span><span>percentage</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">the percentage of the total length of the polyline to find the point for</p></div></div></div></div></div></div></div>
0 commit comments