From c533dfc05d69612e97be11677d3a9295bcd53b51 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 22 Feb 2024 00:06:15 +0100 Subject: [PATCH] Update plugin docs --- doc/plugins.md | 7 +++++-- package.json | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/plugins.md b/doc/plugins.md index 5f7a21c52..a466fbeb4 100644 --- a/doc/plugins.md +++ b/doc/plugins.md @@ -308,10 +308,9 @@ for customized queries and templates for the result presentation. | exportGeometry | `bool` | Whether to include the geometry in exported features. Default: `true`. | `true` | | featureInfoReturnsLayerName | `bool` | Whether to assume that XML GetFeatureInfo responses specify the technical layer name in the `name` attribute, rather than the layer title. | `true` | | geometry | `{`
`  initialWidth: number,`
`  initialHeight: number,`
`  initialX: number,`
`  initialY: number,`
`  initiallyDocked: bool,`
`  side: string,`
`}` | Default window geometry with size, position and docking status. Positive position values (including '0') are related to top (InitialY) and left (InitialX), negative values (including '-0') to bottom (InitialY) and right (InitialX). | `{`
`  initialWidth: 240,`
`  initialHeight: 320,`
`  initialX: 0,`
`  initialY: 0,`
`  initiallyDocked: false,`
`  side: 'left'`
`}` | -| initialRadius | `number` | The initial radius of the identify dialog in radius mode. | `50` | +| highlightAllResults | `bool` | Whether to highlight all results if no result is hovered | `true` | | initialRadiusUnits | `string` | The initial radius units of the identify dialog in radius mode. One of 'meters', 'feet', 'kilometers', 'miles'. | `'meters'` | | replaceImageUrls | `bool` | Whether to replace an attribute value containing an URL to an image with an inline image. | `true` | -| highlightAllResults | `bool` | Whether to highlight all results if no result is hovered | `true` | LayerCatalog ---------------------------------------------------------------- @@ -484,12 +483,16 @@ You can set the startup filter configuration by specifying a `f` URL-parameter w ``` f={"": {"": , ...}, ...} ``` + +To control the temporal filter, the filter ID is `__timefilter`, and the field IDs are `tmin` and `tmax`, with values an ISO date or datetime string (`YYYY-MM-DD` or `YYYY-MM-DDTHH:MM:SS`). + Whenever an startup filter value is specified, the filter is automatically enabled. *Note*: When specifying `f`, you should also specify `t` as the startup filter configuraiton needs to match the filters of the desired theme. | Property | Type | Description | Default value | |----------|------|-------------|---------------| +| allowFilterByTime | `bool` | Whether to display the temporal filter if temporal dimensions are found (default: true). | `true` | | position | `number` | The position slot index of the map button, from the bottom (0: bottom slot). Set to -1 to hide the button. | `5` | | side | `string` | The side of the application on which to display the sidebar. | `undefined` | diff --git a/package.json b/package.json index f82d4ae00..a3398d86b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "qwc2", - "version": "2024.02.21-master", + "version": "2024.02.22-master", "description": "QGIS Web Client 2 core", "author": "Sourcepole AG", "license": "BSD-2-Clause",