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
Please note that the order of certain plugins is relevant when other plugins are referenced, e.g. `@polar/plugin-gfi``coordinateSources`.
49
+
Please note that the order of certain plugins is relevant when other plugins are referenced, e.g. `@polar/plugin-gfi`'s`coordinateSources` requires the sources to have previously been set up.
50
50
51
-
However, please note that the values are overwritten by the `mapConfiguration`.
52
-
These values can be defined in both places.
51
+
Please note that all configuration added via plugin constructors can be overridden in the `createMap`'s parameter `mapConfiguration`. You may use either object (or a mix of them) to create the configuration, e.g. use the constructors for a base configuration and the `mapConfiguration` object to override it for various use cases.
52
+
53
+
How exactly you do this is up to you and influences the minimum API call requirements your client has.
53
54
54
55
If the storeModule features a `setupModule` action, it will be executed automatically after initialization.
55
56
@@ -522,14 +523,7 @@ You may desire to listen to whether the loader is currently being shown.
522
523
523
524
| fieldName | type | description |
524
525
| - | - | - |
525
-
| components | Array | Returns the components object. |
526
-
| deviceIsHorizontal | boolean | Returns true if the device is horizontal based on small height and window size. |
527
-
| hasSmallHeight | boolean | Returns true if the client height is less than or equal to the small display height. |
528
-
| hasSmallWidth | boolean | Returns true if the client width is less than or equal to the small display width. |
529
-
| hasWindowSize | boolean | Returns true if the window size matches the client size. |
| hovered | Feature \| null | If `useExtendedMasterportalApiMarkers` is active, this will return the currently hovered marker. Please mind that it may be a clustered feature. |
528
+
| selected | Feature \| null | If `useExtendedMasterportalApiMarkers` is active, this will return the currently selected marker. Please mind that it may be a clustered feature. |
529
+
| selectedCoordinates | Array \| null | If `useExtendedMasterportalApiMarkers` is active, this will return the coordinates of the currently selected marker. |
Copy file name to clipboardExpand all lines: packages/plugins/Gfi/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,7 +161,7 @@ customHighlightStyle: {
161
161
162
162
| fieldName | type | description |
163
163
| - | - | - |
164
-
| mode | 'visible' \| 'loaded' | Whether to show only features currently visible in the map view's bounding box or to display all loaded features. In the latter case, if you desire to display all features of a layer (seen or not), set its loading strategy to `'all'`. The loading strategy is a value in the WFS configuration. |
164
+
| mode | 'visible' \| 'loaded' | Whether to show only features currently visible in the map view's bounding box or to display all loaded features. In the latter case, if you desire to display all features of a layer (seen or not), set its loading strategy to `'all'`. The loading strategy is a value in the OpenLayers vector source configuration; see [ol/loadingStrategy](https://openlayers.org/en/latest/apidoc/module-ol_loadingstrategy.html) for further details. |
165
165
| bindWithCoreHoverSelect | boolean? | If `true`, the hover/select fields in the core's state will be listened to and interacted with. This will result in a bilateral hovering and selecting of features with the core. Defaults to `false`. |
166
166
| pageLength | number? | A number >0 that sets the limit to the feature list's length. If the length is surpassed, additional features can be reached by using the pagination that is generated in such a case. If not defined, the list can be of arbitrary length. |
167
167
| text | (function \| string)[]? | Array of one to three entries that will produce title, subtitle, and an additional subtitle for the list view. If string, the text item will simply be that feature's value for the denoted property. If function, it's assumed to match the function signature `(feature: OpenLayersFeature): string`, and the returned string will be used for the text item. |
Copy file name to clipboardExpand all lines: packages/plugins/Pins/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ The usage of `displayComponent` has no influence on the creation of Pins on the
19
19
| initial | initial? | Configuration options for setting an initial pin. |
20
20
| movable | enum["drag", "click", "none"]? | Whether a user may drag and re-click the pin (`drag`), only re-click it (`click`) or may only be placed programmatically (`none`). Defaults to 'none'. |
21
21
| style | style? | Display style configuration. |
22
-
| toastAction | string? | If `boundaryLayerId` is set, and the pin is moved or created outside the boundary, this string will be used as the path to an action within the store to send a toast notification to the user. If no toast information is desired, leave this field undefined; for testing purposes, you can still find information in the console. |
22
+
| toastAction | string? | If `boundaryLayerId` is set, and the pin is moved or created outside the boundary, this string will be used as the path to an action within the store to send a toast notification to the user. If no toast notification is desired, leave this field undefined; for testing purposes, you can still find information in the console. |
23
23
| toZoomLevel | number? | Zoom level to use on outside input by e.g. address search. Defaults to `0`. |
0 commit comments