@phila/layerboard 3.0.0-beta.28 → 3.0.0-beta.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Layerboard.vue.d.ts +6 -0
- package/dist/composables/useLayerConfig.d.ts +2 -0
- package/dist/composables/useLayerboard.d.ts +8 -0
- package/dist/index.js +2 -2
- package/dist/index.mjs +582 -574
- package/dist/layerboard.css +1 -1
- package/dist/types/layer.d.ts +6 -0
- package/package.json +1 -1
package/dist/types/layer.d.ts
CHANGED
|
@@ -22,6 +22,10 @@ export interface PopupConfig {
|
|
|
22
22
|
title: string;
|
|
23
23
|
fields: PopupField[];
|
|
24
24
|
showTime?: boolean;
|
|
25
|
+
/** Sort popup features by this field when multiple features are at the click point */
|
|
26
|
+
popupSortField?: string;
|
|
27
|
+
/** Sort order: "desc" for newest-first, "asc" for oldest-first (default: "desc") */
|
|
28
|
+
popupSortOrder?: "asc" | "desc";
|
|
25
29
|
}
|
|
26
30
|
/**
|
|
27
31
|
* Display options for layer controls in the sidebar
|
|
@@ -58,6 +62,8 @@ export interface LayerConfig {
|
|
|
58
62
|
*/
|
|
59
63
|
export interface PopupOverride {
|
|
60
64
|
showTime?: boolean;
|
|
65
|
+
popupSortField?: string;
|
|
66
|
+
popupSortOrder?: "asc" | "desc";
|
|
61
67
|
}
|
|
62
68
|
/**
|
|
63
69
|
* Override configuration for layer styles
|