Skip to content

Commit 43507b0

Browse files
Merged
2 parents 0a7614e + 76f97a7 commit 43507b0

File tree

8 files changed

+70
-3
lines changed

8 files changed

+70
-3
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
DELEGATES_PREFERENCE=delegateValidatorList
2+
USER_BUILD_PREFERENCE=enabledBuildValidatorListorg.eclipse.wst.wsi.ui.internal.WSIMessageValidator;
3+
USER_MANUAL_PREFERENCE=enabledManualValidatorListorg.eclipse.wst.wsi.ui.internal.WSIMessageValidator;
4+
USER_PREFERENCE=overrideGlobalPreferencestruedisableAllValidationtrueversion1.3.100.v202407180051
5+
eclipse.preferences.version=1
6+
override=true
7+
suspend=true
8+
vf.version=3
627 KB
Loading
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Place Map
2+
3+
Place Maps are a way to easily show geolocated objects on a Google Map :
4+
5+
![place map](img/place-map/placemap.png)
6+
7+
## Configuration
8+
9+
Make sur you have the prerequisites:
10+
- update the `GOOGLE_API_KEY` system parameter after [generating it with a Google Account](https://developers.google.com/maps/documentation/javascript/get-api-key)
11+
- have a **geographical coordinates attribute** setup on your object (if working with an adress, you might have to use some tool to transform the address into coordinates, see the following example from the demo using a google maps tool and also requires a working Google API key)
12+
13+
And proceed to configure the placemap. You can configure up to 3 labels that will show up when clicking on a pin, the first one being considerend a title.
14+
15+
## Geocoding address
16+
17+
```java
18+
/** Hook override: geo-locate from address fields */
19+
@Override
20+
public String preSave() {
21+
if (isMainInstance()) { // Only done for the main UI instance
22+
try {
23+
// Geocode address fields
24+
ObjectField coords = getField("demoCliCoords");
25+
ObjectField a1 = getField("demoCliAddress1");
26+
ObjectField a2 = getField("demoCliAddress2");
27+
ObjectField zc = getField("demoCliZipCode");
28+
ObjectField ci = getField("demoCliCity");
29+
ObjectField co = getField("demoCliCountry");
30+
31+
if (coords.isEmpty() || a1.hasChanged() || a2.hasChanged() || zc.hasChanged() || ci.hasChanged() || co.hasChanged()) {
32+
String a = a1.getValue() + (a2.isEmpty() ? "" : ", " + a2.getValue()) + ", " + zc.getValue() + ", " + ci.getValue() + ", " + co.getValue();
33+
Location c = new GMapTool(getGrant()).geocodeOne(a);
34+
coords.setValue(c == null ? "" : c.toString());
35+
}
36+
} catch (Exception e) {
37+
AppLog.warning(null, e, getGrant());
38+
}
39+
}
40+
return super.preSave();
41+
}
42+
```
56.9 KB
Loading

docs/versions/release-notes/v5-3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ Post-release
973973
- Backported [from v6.3](v6-3#new-helper-methods) new `getText` helper methods on `PDFTool` to extract raw text content of a PDF document
974974
- Backported fix workflow to re-eval data expressions in case of backward/forward
975975
- Backported [from v6.3](v6-3#new-configuration-items) `[ENV:<environment variable name>]` token in expressions
976-
- Backported fix on hide event of date picker within a dialog box
976+
- Backported fix on loss of datetime input in a dialog
977977

978978
### 5.3.69 (UNDEFINED) - maintenance revision {#version-5.3.69}
979979

docs/versions/release-notes/v6-1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ Post-release
484484
- Backported [from v6.3](v6-3#new-helper-methods) new `getText` helper methods on `PDFTool` to extract raw text content of a PDF document
485485
- Backported fix workflow to re-eval data expressions in case of backward/forward
486486
- Backported [from v6.3](v6-3#new-configuration-items) `[ENV:<environment variable name>]` token in expressions
487-
- Backported fix on hide event of date picker within a dialog box
487+
- Backported fix on loss of datetime input in a dialog
488488

489489
### 6.1.30 (UNDEFINED) - maintenance revision {#version-6.1.30}
490490

docs/versions/release-notes/v6-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ Post-release
440440
- Fixed form with 0,1 inlined object containing embedded 0,n panels
441441
- Fixed menu with only 1 domain and 1 object
442442
- Backported [from v6.3](v6-3#new-configuration-items) `[ENV:<environment variable name>]` token in expressions
443-
- Fixed hide event of date picker within a dialog box
443+
- Fixed loss of datetime input in a dialog
444444
445445
### 6.2.8 (UNRELEASED) {#version-6.2.8}
446446

docs/versions/release-notes/v6-3.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,23 @@ The `nonce` string used by the protocol has also been increased with some additi
284284
- The tesseract.js JS lib has been integrated to provide with basic client-side OCR
285285
- Added implicit rewrite from `*/` to `*/index.html` in static contents
286286

287+
### Images in excel exports
288+
289+
An experimental feature allows to include images in excel exports, although it comes with the following limitations:
290+
- image anchoring does not work as expected (images don't follow the lines/colums when reordering)
291+
- images adapt to default row size, which is quite small
292+
- it can severely affect the exported file size, so image inclusion will be made optional in the future
293+
294+
In the meantime, it is activable through the system parameter `FEATURE_FLAGS`
295+
296+
```json
297+
{
298+
"images_in_excel_exports": true
299+
}
300+
```
301+
302+
![alt](img/v6-3/images_in_excel_exports.png)
303+
287304
Fixes
288305
-----
289306

0 commit comments

Comments
 (0)