Skip to content

Commit 1a3ddbc

Browse files
Merge pull request #147 from Dataport/update/polar-326_refactor-readme-files
POLAR-326 Remove whitespaces from tables within Readme-files
2 parents d8a74ae + ab70179 commit 1a3ddbc

File tree

14 files changed

+202
-202
lines changed

14 files changed

+202
-202
lines changed

packages/core/README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@ MapClient.createMap({
6969

7070
The mapConfiguration allows controlling many client instance details.
7171

72-
| fieldName | type | description |
73-
| --------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
74-
| layerConf | LayerConf | Layer configuration as required by masterportalAPI. |
75-
| language | enum["de", "en"] | Initial language. |
76-
| <...masterportalAPI.fields> | various | The object is also used to initialize the masterportalAPI. Please refer to their documentation for options. |
77-
| <plugin.fields> | various? | Many plugins added with `addPlugin` may respect additional configuration. Please see the respective plugin documentations. Global plugin parameters are described below. |
72+
| fieldName | type | description |
73+
| - | - | - |
74+
| layerConf | LayerConf | Layer configuration as required by masterportalAPI. |
75+
| language | enum["de", "en"] | Initial language. |
76+
| <...masterportalAPI.fields> | various | The object is also used to initialize the masterportalAPI. Please refer to their documentation for options. |
77+
| <plugin.fields> | various? | Many plugins added with `addPlugin` may respect additional configuration. Please see the respective plugin documentations. Global plugin parameters are described below. |
7878
| locales | LanguageOption[]? | All locales in POLAR's plugins can be overridden to fit your needs.|
79-
| vuetify | object? | You may add vuetify configuration here. |
79+
| vuetify | object? | You may add vuetify configuration here. |
8080
| extendedMasterportalapiMarkers | extendedMasterportalapiMarkers? | Optional. If set, all configured visible vector layers' features can be hovered and selected by mouseover and click respectively. They are available as features in the store. Layers with `clusterDistance` will be clustered to a multi-marker that supports the same features. Please mind that this only works properly if you configure nothing but point marker vector layers styled by the masterportalAPI. |
8181
| stylePath | string? | If no link tag with `data-polar="true"` is found in the document, this path will be used to create the link node in the client itself. It defaults to `'./style.css'`. Please mind that `data-polar="true"` is deprecated since it potentially led to flashes of misstyled content. stylePath will replace that solution in the next major release. |
8282
| renderFaToLightDom | boolean? | POLAR requires FontAwesome in the Light/Root DOM due to an [unfixed bug in many browsers](https://bugs.chromium.org/p/chromium/issues/detail?id=336876). This value defaults to `true`. POLAR will, by default, just add the required CSS by itself. Should you have a version of Fontawesome already included, you can try to set this to `false` to check whether the versions are interoperable. |
@@ -138,7 +138,7 @@ To figure out the name of the locales to override, inspect the matching plugin i
138138
A full documentation of the masterportalapiPolygonFillHatch is available at the Masterportal's documentation file [style.json.md](https://bitbucket.org/geowerkstatt-hamburg/masterportal/src/dev/doc/style.json.md), chapter 'Polygon.polygonFillHatch'. The basic usage is quoted below for quick lookup. For more details, visual examples, and expert features, see there.
139139

140140
>|Name|Required|Type|Default|Description|
141-
>|----|--------|----|-------|-----------|
141+
>| - | - | - | - | - |
142142
>|pattern|no|enum["diagonal", "diagonal-right", "zig-line", "zig-line-horizontal", "circle", "rectangle", "triangle", "diamond"]/Object|`"diagonal"`|Draw pattern. You may either use a pre-defined pattern from the enum or specify one yourself.|
143143
>|size|no|Number|`30`|Edge length of a singular repeated pattern element.|
144144
>|lineWidth|no|Number|`10`|Line width of drawn pattern. To achieve an even distribution in diagonal and zig-line pattern, choose lineWidth as (1/3 * size). For triangle and diamond, a lineWidth of 1 must be chosen. For rectangle, a lineWidth of at most (1/4 * size) should be chosen. Deviating from these rules is not harmful, but patterns may seem off.|
@@ -188,14 +188,14 @@ Since this is the base for many functions, the service ID set in this is used to
188188

189189
The `<...masterportalAPI.fields>` means that any masterportalAPI field may also be used here _directly_. The most common fields are the following ones; for more, see masterportalAPI.
190190

191-
| fieldName | type | description |
192-
| ---------------- | -------- | ------------------------------------------------------------------------------------------------------------------------- |
193-
| startResolution | number | Initial resolution; must be in options. See below. |
194-
| startCenter | number[] | Initial center coordinate. |
195-
| extent | number[] | Map movement will be restricted to this rectangle. |
196-
| epsg | string | Leading coordinate system, e.g. `"EPSG:25832"`. |
197-
| options | Array | Defines all available zoomLevels. Entries define `resolution`, `scale`, and `zoomLevel`. See masterportalAPI for details. |
198-
| namedProjections | Array | Array of usable projections by proj4 string. |
191+
| fieldName | type | description |
192+
| - | - | - |
193+
| startResolution | number | Initial resolution; must be in options. See below. |
194+
| startCenter | number[] | Initial center coordinate. |
195+
| extent | number[] | Map movement will be restricted to this rectangle. |
196+
| epsg | string | Leading coordinate system, e.g. `"EPSG:25832"`. |
197+
| options | Array | Defines all available zoomLevels. Entries define `resolution`, `scale`, and `zoomLevel`. See masterportalAPI for details. |
198+
| namedProjections | Array | Array of usable projections by proj4 string. |
199199

200200
##### <plugin.fields>
201201

@@ -211,8 +211,8 @@ On how to configure a plugin, see the respective plugin. The configuration is gi
211211

212212
Most plugins honor this additional field.
213213

214-
| fieldName | type | description |
215-
| ---------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
214+
| fieldName | type | description |
215+
| - | - | - |
216216
| displayComponent | boolean? | Optional field that allows hiding UI elements from the user. The store will still be initialized, allowing you to add your own UI elements and control the plugin's functionality via the Store. This may or may not make sense, depending on the plugin. Defaults to `false` , meaning the default UI is hidden. |
217217

218218
##### mapConfiguration.vuetify

0 commit comments

Comments
 (0)