Skip to content

Commit edd4da1

Browse files
docs: Update docs (#1597)
1 parent b017353 commit edd4da1

File tree

8 files changed

+581
-1
lines changed

8 files changed

+581
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
kotlin version: 2.0.21
2+
error message: The daemon has terminated unexpectedly on startup attempt #1 with error code: 0. The daemon process output:
3+
1. Kotlin compile daemon is ready
4+
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
<!DOCTYPE html>
2+
<!--
3+
Copyright 2025 Google LLC
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
18+
<html class="no-js">
19+
<head>
20+
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
21+
<title>getPointOnPolyline</title>
22+
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg">
23+
<script>var pathToRoot = "../../../";</script>
24+
<script>document.documentElement.classList.replace("no-js","js");</script>
25+
<script>const storage = localStorage.getItem("dokka-dark-mode")
26+
if (storage == null) {
27+
const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
28+
if (osDarkSchemePreferred === true) {
29+
document.getElementsByTagName("html")[0].classList.add("theme-dark")
30+
}
31+
} else {
32+
const savedDarkMode = JSON.parse(storage)
33+
if(savedDarkMode === true) {
34+
document.getElementsByTagName("html")[0].classList.add("theme-dark")
35+
}
36+
}
37+
</script>
38+
<script type="text/javascript" src="https://unpkg.com/kotlin-playground@1/dist/playground.min.js" async="async"></script>
39+
<script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script>
40+
<link href="../../../styles/style.css" rel="Stylesheet">
41+
<link href="../../../styles/main.css" rel="Stylesheet">
42+
<link href="../../../styles/prism.css" rel="Stylesheet">
43+
<link href="../../../styles/logo-styles.css" rel="Stylesheet">
44+
<link href="../../../styles/font-jb-sans-auto.css" rel="Stylesheet">
45+
<link href="../../../ui-kit/ui-kit.min.css" rel="Stylesheet">
46+
<script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script>
47+
<script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script>
48+
<script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script>
49+
<script type="text/javascript" src="../../../scripts/main.js" defer="defer"></script>
50+
<script type="text/javascript" src="../../../scripts/prism.js" async="async"></script>
51+
<script type="text/javascript" src="../../../ui-kit/ui-kit.min.js" defer="defer"></script>
52+
<script type="text/javascript" src="../../../scripts/symbol-parameters-wrapper_deferred.js" defer="defer"></script>
53+
</head>
54+
<body>
55+
<div class="root">
56+
<nav class="navigation theme-dark" id="navigation-wrapper">
57+
<a class="library-name--link" href="../../../index.html">
58+
library
59+
</a>
60+
<button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle"
61+
type="button">Toggle table of contents
62+
</button>
63+
<div class="navigation-controls--break ui-kit_mobile-only"></div>
64+
<div class="library-version" id="library-version">
65+
3.17.0 </div>
66+
<div class="navigation-controls">
67+
<div class="filter-section filter-section_loading" id="filter-section">
68+
<button class="platform-tag platform-selector jvm-like" data-active=""
69+
data-filter=":library:dokkaHtml/release">androidJvm</button>
70+
<div class="dropdown filter-section--dropdown" data-role="dropdown" id="filter-section-dropdown">
71+
<button class="button button_dropdown filter-section--dropdown-toggle" role="combobox"
72+
data-role="dropdown-toggle"
73+
aria-controls="platform-tags-listbox"
74+
aria-haspopup="listbox"
75+
aria-expanded="false"
76+
aria-label="Toggle source sets"
77+
></button>
78+
<ul role="listbox" id="platform-tags-listbox" class="dropdown--list" data-role="dropdown-listbox">
79+
<div class="dropdown--header"><span>Platform filter</span>
80+
<button class="button" data-role="dropdown-toggle" aria-label="Close platform filter">
81+
<i class="ui-kit-icon ui-kit-icon_cross"></i>
82+
</button>
83+
</div>
84+
<li role="option" class="dropdown--option platform-selector-option jvm-like" tabindex="0">
85+
<label class="checkbox">
86+
<input type="checkbox" class="checkbox--input" id=":library:dokkaHtml/release"
87+
data-filter=":library:dokkaHtml/release"/>
88+
<span class="checkbox--icon"></span>
89+
androidJvm
90+
</label>
91+
</li>
92+
</ul>
93+
<div class="dropdown--overlay"></div>
94+
</div>
95+
</div>
96+
<button class="navigation-controls--btn navigation-controls--btn_theme" id="theme-toggle-button"
97+
type="button">Switch theme
98+
</button>
99+
<div class="navigation-controls--btn navigation-controls--btn_search" id="searchBar" role="button">Search in
100+
API
101+
</div>
102+
</div>
103+
</nav>
104+
<div id="container">
105+
<div class="sidebar" id="leftColumn">
106+
<div class="dropdown theme-dark_mobile" data-role="dropdown" id="toc-dropdown">
107+
<ul role="listbox" id="toc-listbox" class="dropdown--list dropdown--list_toc-list"
108+
data-role="dropdown-listbox">
109+
<div class="dropdown--header">
110+
<span>
111+
library
112+
</span>
113+
<button class="button" data-role="dropdown-toggle" aria-label="Close table of contents">
114+
<i class="ui-kit-icon ui-kit-icon_cross"></i>
115+
</button>
116+
</div>
117+
<div class="sidebar--inner" id="sideMenu"></div>
118+
</ul>
119+
<div class="dropdown--overlay"></div>
120+
</div>
121+
</div>
122+
<div id="main">
123+
<div class="main-content" data-page-type="member" id="content" pageIds="library::com.google.maps.android/SphericalUtil/getPointOnPolyline/#kotlin.collections.List[com.google.android.gms.maps.model.LatLng]#kotlin.Double/PointingToDeclaration//-1887420133">
124+
<div class="breadcrumbs"><a href="../../../index.html">library</a><span class="delimiter">/</span><a href="../index.html">com.google.maps.android</a><span class="delimiter">/</span><a href="index.html">SphericalUtil</a><span class="delimiter">/</span><span class="current">getPointOnPolyline</span></div>
125+
<div class="cover ">
126+
<h1 class="cover"><span>get</span><wbr></wbr><span>Point</span><wbr></wbr><span>On</span><wbr></wbr><span><span>Polyline</span></span></h1>
127+
</div>
128+
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":library:dokkaHtml/release"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-static/index.html"><span class="token annotation builtin">JvmStatic</span></a></div></div><span class="token keyword">fun </span><a href="get-point-on-polyline.html"><span class="token function">getPointOnPolyline</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">polyline<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><span data-unresolved-link="com.google.android.gms.maps.model/LatLng///PointingToDeclaration/">LatLng</span><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter ">percentage<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html">Double</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="com.google.android.gms.maps.model/LatLng///PointingToDeclaration/">LatLng</span><span class="token operator">?</span></div><p class="paragraph">Returns the point on a polyline that is a given percentage of the total length of the polyline.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">the <code class="lang-kotlin">LatLng</code> of the point on the polyline, or <code class="lang-kotlin">null</code> if the polyline is empty or the percentage is outside the range 0, 1</p></span><h4 class="">Parameters</h4><div class="table"><div class="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>polyline</span></span></u></div></span></div><div><div class="title"><p class="paragraph">the polyline</p></div></div></div></div><div class="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>percentage</span></span></u></div></span></div><div><div class="title"><p class="paragraph">the percentage of the total length of the polyline to find the point for</p></div></div></div></div></div></div></div>
129+
</div>
130+
<div class="footer">
131+
<a href="#content" id="go-to-top-link" class="footer--button footer--button_go-to-top"></a>
132+
<span>© 2025 Copyright</span>
133+
<span class="pull-right">
134+
<span>Generated by </span>
135+
<a class="footer--link footer--link_external" href="https://github.com/Kotlin/dokka">
136+
<span>dokka</span>
137+
</a>
138+
</span>
139+
</div>
140+
</div>
141+
</div>
142+
</div>
143+
</body>
144+
</html>

0 commit comments

Comments
 (0)