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
25.4 KB
Loading

docs/diplan/assets/RingLoader.gif

85.2 KB
Loading
26.9 KB
Loading
57.8 KB
Loading
2.31 KB
Loading

0 commit comments

Comments
 (0)