Skip to content

Commit 89e8149

Browse files
committed
deploy: 74b5509
1 parent a0a2148 commit 89e8149

File tree

72 files changed

+86881
-76939
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+86881
-76939
lines changed

docs/afm/core.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,18 @@ <h5 id="mapconfiguration.vuetify" tabindex="-1">mapConfiguration.vuetify</h5>
679679
}
680680
}
681681
</code></pre>
682+
<p>Regarding icons, you may add <code>vuetifyOptions.icons.values</code> as <code>{&quot;name&quot;: x}</code>, where <code>x</code> are the path commands (commonly '<a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d">d</a>') of the SVG to draw. An icon 'pen' will then be available as <code>&quot;$vuetify.icons.pen&quot;</code> in <code>v-icon</code> (and all places in the configuration where icons can be set). Any required styling can be added via <code>.css</code>, appropriate classnames would be <code>.v-icon__svg</code> and its path child <code>.v-icon__svg path</code>.</p>
683+
<pre><code class="language-js">{
684+
icons: {
685+
values: {
686+
// example path from icomoon free
687+
&quot;arrow-drop-up&quot;: &quot;M298.667 341.333l213.333 213.333 213.333-213.333h-426.667z&quot;,
688+
}
689+
}
690+
}
691+
</code></pre>
692+
<p>This specific path would require resizing via CSS, e.g. <code>scale: 0.0234375;</code> on the path.</p>
693+
<p>If you need a compilation from <a href="https://icomoon.io/">icomoon's</a> svg export (or samey format) to such an object, see <code>scripts/precompileSvg.js</code> in the root folder.</p>
682694
<h2 id="store" tabindex="-1">Store</h2>
683695
<p>The core module features a vuex root store that all plugin vuex modules are plugged into. However, the root contents are only relevant to plugins. It is accessible with <code>map.$store</code>, and can be used as a starting point for plugin access.</p>
684696
<p>To ease use, the map instance also features a <code>subscribe</code> method that will register a watcher to any state field. Please mind that only documented paths should be used, and all others are subject to change without notice.</p>

docs/afm/plugin-attributions.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ <h3 id="attributions-1" tabindex="-1">attributions</h3>
3838
</thead>
3939
<tbody>
4040
<tr>
41+
<td>icons</td>
42+
<td>Record&lt;string, string&gt;?</td>
43+
<td>Optional icon override.</td>
44+
</tr>
45+
<tr>
4146
<td>initiallyOpen</td>
4247
<td>boolean?</td>
4348
<td>Whether the information box is open by default. Only usable when renderType is set to 'independent', otherwise the IconMenu handles this.</td>
@@ -94,6 +99,28 @@ <h3 id="attributions-1" tabindex="-1">attributions</h3>
9499
],
95100
}
96101
</code></pre>
102+
<h4 id="attributions.icons" tabindex="-1">attributions.icons</h4>
103+
<table>
104+
<thead>
105+
<tr>
106+
<th>fieldName</th>
107+
<th>type</th>
108+
<th>description</th>
109+
</tr>
110+
</thead>
111+
<tbody>
112+
<tr>
113+
<td>close</td>
114+
<td>string?</td>
115+
<td>Icon shown when pressing the button closes the attributions. Defaults to <code>'fa-chevron-right'</code>.</td>
116+
</tr>
117+
<tr>
118+
<td>open</td>
119+
<td>string?</td>
120+
<td>Icon shown when pressing the button opens the attributions. Defaults to <code>'fa-regular fa-copyright'</code>.</td>
121+
</tr>
122+
</tbody>
123+
</table>
97124
<h4 id="attributions.layerattribution" tabindex="-1">attributions.layerAttribution</h4>
98125
<table>
99126
<thead>

docs/afm/plugin-legend.html

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,45 @@ <h1 id="legend" tabindex="-1">Legend</h1>
2626
<p>The Legend module offers legend images as supplied by OGC services via <code>GetLegendGraphic</code> and <code>GetLegendURL</code> calls.</p>
2727
<h2 id="configuration" tabindex="-1">Configuration</h2>
2828
<p>For details on the <code>displayComponent</code> attribute, refer to the <a href="https://dataport.github.io/polar/docs/afm/core.html#global-plugin-parameters">Global Plugin Parameters</a> section of <code>@polar/core</code>.</p>
29+
<h3 id="legend-1" tabindex="-1">legend</h3>
30+
<table>
31+
<thead>
32+
<tr>
33+
<th>fieldName</th>
34+
<th>type</th>
35+
<th>description</th>
36+
</tr>
37+
</thead>
38+
<tbody>
39+
<tr>
40+
<td>icons</td>
41+
<td>Record&lt;string, string&gt;?</td>
42+
<td>Optional icon override.</td>
43+
</tr>
44+
</tbody>
45+
</table>
46+
<h4 id="legend.icons" tabindex="-1">legend.icons</h4>
47+
<table>
48+
<thead>
49+
<tr>
50+
<th>fieldName</th>
51+
<th>type</th>
52+
<th>description</th>
53+
</tr>
54+
</thead>
55+
<tbody>
56+
<tr>
57+
<td>close</td>
58+
<td>string?</td>
59+
<td>Icon shown when pressing the button closes the legends. Defaults to <code>'fa-chevron-right'</code>.</td>
60+
</tr>
61+
<tr>
62+
<td>open</td>
63+
<td>string?</td>
64+
<td>Icon shown when pressing the button opens the legends. Defaults to <code>'fa-info'</code>.</td>
65+
</tr>
66+
</tbody>
67+
</table>
2968

3069

3170
<h2>Locales</h2>

docs/afm/plugin-zoom.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ <h1 id="zoom" tabindex="-1">Zoom</h1>
2626
<h2 id="scope" tabindex="-1">Scope</h2>
2727
<p>The Zoom plugin offers functionality regarding map zooming.</p>
2828
<h2 id="configuration" tabindex="-1">Configuration</h2>
29+
<h3 id="zoom-1" tabindex="-1">zoom</h3>
2930
<p>The Zoom plugin offers a plus/minus button, and will adjust itself to the map's zoom settings on initialization.<br />
3031
It can be configured as followed.</p>
3132
<table>
@@ -38,6 +39,11 @@ <h2 id="configuration" tabindex="-1">Configuration</h2>
3839
</thead>
3940
<tbody>
4041
<tr>
42+
<td>icons</td>
43+
<td>Record&lt;string, string&gt;?</td>
44+
<td>Optional icon override.</td>
45+
</tr>
46+
<tr>
4147
<td>renderType</td>
4248
<td>'iconMenu' | 'independent'?</td>
4349
<td>Whether the zoom related buttons are being rendered independently or as part of the IconMenu. Defaults to <code>'independent'</code>.</td>
@@ -62,6 +68,28 @@ <h2 id="configuration" tabindex="-1">Configuration</h2>
6268
showZoomSlider: true,
6369
}
6470
</code></pre>
71+
<h4 id="zoom.icons" tabindex="-1">zoom.icons</h4>
72+
<table>
73+
<thead>
74+
<tr>
75+
<th>fieldName</th>
76+
<th>type</th>
77+
<th>description</th>
78+
</tr>
79+
</thead>
80+
<tbody>
81+
<tr>
82+
<td>zoomIn</td>
83+
<td>string?</td>
84+
<td>Icon shown on zoom-in (plus) button. Defaults to <code>'fa-plus'</code>.</td>
85+
</tr>
86+
<tr>
87+
<td>zoomOut</td>
88+
<td>string?</td>
89+
<td>Icon shown on zoom-out (minus) button. Defaults to <code>'fa-minus'</code>.</td>
90+
</tr>
91+
</tbody>
92+
</table>
6593
<h2 id="store" tabindex="-1">Store</h2>
6694
<h3 id="state" tabindex="-1">State</h3>
6795
<p>The map's zoom level can be listened to.</p>

docs/diplan/assets/BasicLoader.gif

24.3 KB
Loading

docs/diplan/assets/CircleLoader.gif

25.4 KB
Loading

docs/diplan/assets/RingLoader.gif

85.2 KB
Loading

docs/diplan/assets/RollerLoader.gif

26.9 KB
Loading

docs/diplan/assets/SpinnerLoader.gif

57.8 KB
Loading

docs/diplan/assets/VuetifyLoader.gif

2.31 KB
Loading

docs/diplan/client-diplan.html

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
6+
<title>🧊📚 POLAR Documentation</title>
7+
<link rel="stylesheet" href="./github-markdown.css">
8+
<style>
9+
body {
10+
box-sizing: border-box;
11+
min-width: 200px;
12+
max-width: 980px;
13+
margin: 0 auto;
14+
padding: 45px;
15+
}
16+
@media (prefers-color-scheme: dark) {
17+
html {
18+
background-color: #0d1117;
19+
}
20+
}
21+
</style>
22+
</head>
23+
<body>
24+
<article class="markdown-body">
25+
<h1 id="polar-client-diplankarten" tabindex="-1">POLAR client DiPlanKarten</h1>
26+
<p>This client is a work-in-progress. This document will contain use cases and configuration examples when done.</p>
27+
28+
<p>For our example client, <a href="./example/prod-example.html">see here</a>. It's also in WIP state.</p>
29+
<p>TODO</p>
30+
31+
<h2>Child documents</h2><nav><ul>
32+
<li><a href="core.html" target="_blank">core.html</a></li><li><a href="plugin-address-search.html" target="_blank">plugin-address-search.html</a></li><li><a href="plugin-attributions.html" target="_blank">plugin-attributions.html</a></li><li><a href="plugin-draw.html" target="_blank">plugin-draw.html</a></li><li><a href="plugin-gfi.html" target="_blank">plugin-gfi.html</a></li><li><a href="plugin-icon-menu.html" target="_blank">plugin-icon-menu.html</a></li><li><a href="plugin-layer-chooser.html" target="_blank">plugin-layer-chooser.html</a></li><li><a href="plugin-loading-indicator.html" target="_blank">plugin-loading-indicator.html</a></li><li><a href="plugin-pins.html" target="_blank">plugin-pins.html</a></li><li><a href="plugin-scale.html" target="_blank">plugin-scale.html</a></li><li><a href="plugin-toast.html" target="_blank">plugin-toast.html</a></li><li><a href="plugin-zoom.html" target="_blank">plugin-zoom.html</a></li>
33+
</ul></nav>
34+
35+
</article>
36+
<hr>
37+
<a href="https://github.com/Dataport/polar/blob/main/LEGALNOTICE.md" style="font-family: sans-serif;">Legal Notice (Impressum)</a>
38+
</body>
39+
</html>

0 commit comments

Comments
 (0)