@dra2020/dra-types 1.8.21 → 1.8.24
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/layer.d.ts +5 -0
- package/lib/layer.ts +5 -0
- package/package.json +1 -1
package/dist/layer.d.ts
CHANGED
|
@@ -16,9 +16,13 @@ export declare type UserLayerMetaIndex = {
|
|
|
16
16
|
export declare type LayerType = 'layer' | 'map' | 'restriction';
|
|
17
17
|
export interface UserLayerRef {
|
|
18
18
|
id: string;
|
|
19
|
+
name?: string;
|
|
19
20
|
layerType?: LayerType;
|
|
20
21
|
geojsonName?: string;
|
|
21
22
|
blockmapName?: string;
|
|
23
|
+
cacheState?: string;
|
|
24
|
+
cacheDatasource?: string;
|
|
25
|
+
cachePlanType?: string;
|
|
22
26
|
fill: boolean;
|
|
23
27
|
stroke: boolean;
|
|
24
28
|
label: boolean;
|
|
@@ -27,6 +31,7 @@ export interface UserLayerRef {
|
|
|
27
31
|
strokeOpacity: number;
|
|
28
32
|
fillColor: string;
|
|
29
33
|
fillOpacity: number;
|
|
34
|
+
lineWidth?: number;
|
|
30
35
|
}
|
|
31
36
|
export declare type UserLayerRefIndex = {
|
|
32
37
|
[id: string]: UserLayerRef;
|
package/lib/layer.ts
CHANGED
|
@@ -21,9 +21,13 @@ export type LayerType = 'layer' | 'map' | 'restriction';
|
|
|
21
21
|
export interface UserLayerRef
|
|
22
22
|
{
|
|
23
23
|
id: string,
|
|
24
|
+
name?: string,
|
|
24
25
|
layerType?: LayerType,
|
|
25
26
|
geojsonName?: string,
|
|
26
27
|
blockmapName?: string,
|
|
28
|
+
cacheState?: string,
|
|
29
|
+
cacheDatasource?: string,
|
|
30
|
+
cachePlanType?: string,
|
|
27
31
|
fill: boolean,
|
|
28
32
|
stroke: boolean,
|
|
29
33
|
label: boolean,
|
|
@@ -32,6 +36,7 @@ export interface UserLayerRef
|
|
|
32
36
|
strokeOpacity: number,
|
|
33
37
|
fillColor: string,
|
|
34
38
|
fillOpacity: number,
|
|
39
|
+
lineWidth?: number,
|
|
35
40
|
}
|
|
36
41
|
|
|
37
42
|
export type UserLayerRefIndex = {
|