@opengeoweb/webmap 9.28.1 → 9.29.0

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.
Files changed (79) hide show
  1. package/index.esm.js +709 -714
  2. package/package.json +1 -1
  3. package/src/index.d.ts +1 -1
  4. package/src/lib/components/IWMJSMap.d.ts +315 -315
  5. package/src/lib/components/WMAnimate.d.ts +14 -14
  6. package/src/lib/components/WMAnimate.spec.d.ts +1 -1
  7. package/src/lib/components/WMBBOX.d.ts +31 -31
  8. package/src/lib/components/WMBBOX.spec.d.ts +1 -1
  9. package/src/lib/components/WMCanvasBuffer.d.ts +123 -123
  10. package/src/lib/components/WMCanvasBuffer.spec.d.ts +1 -1
  11. package/src/lib/components/WMCanvasDrawFunctions.d.ts +11 -11
  12. package/src/lib/components/WMConstants.d.ts +19 -19
  13. package/src/lib/components/WMDrawMarker.d.ts +2 -2
  14. package/src/lib/components/WMDrawMarker.spec.d.ts +1 -1
  15. package/src/lib/components/WMFlyToBBox.d.ts +25 -25
  16. package/src/lib/components/WMFlyToBBox.spec.d.ts +1 -1
  17. package/src/lib/components/WMGetServiceFromStore.d.ts +3 -3
  18. package/src/lib/components/WMGlobals.d.ts +8 -8
  19. package/src/lib/components/WMImage.d.ts +97 -97
  20. package/src/lib/components/WMImage.spec.d.ts +1 -1
  21. package/src/lib/components/WMImageStore.d.ts +44 -44
  22. package/src/lib/components/WMImageStore.spec.d.ts +1 -1
  23. package/src/lib/components/WMJSDimension.d.ts +112 -112
  24. package/src/lib/components/WMJSDimension.spec.d.ts +1 -1
  25. package/src/lib/components/WMJSExternalDependencies.d.ts +2 -2
  26. package/src/lib/components/WMJSMap.d.ts +222 -220
  27. package/src/lib/components/WMJSMap.spec.d.ts +1 -1
  28. package/src/lib/components/WMJSMapHelpers.d.ts +59 -58
  29. package/src/lib/components/WMJSMapHelpers.spec.d.ts +1 -1
  30. package/src/lib/components/WMJSService.d.ts +69 -69
  31. package/src/lib/components/WMJSService.spec.d.ts +1 -1
  32. package/src/lib/components/WMJSTools.d.ts +100 -100
  33. package/src/lib/components/WMJSTools.spec.d.ts +1 -1
  34. package/src/lib/components/WMLayer.d.ts +194 -194
  35. package/src/lib/components/WMLayer.spec.d.ts +1 -1
  36. package/src/lib/components/WMLegend.d.ts +6 -6
  37. package/src/lib/components/WMLegend.spec.d.ts +1 -1
  38. package/src/lib/components/WMListener.d.ts +57 -57
  39. package/src/lib/components/WMListener.spec.d.ts +1 -1
  40. package/src/lib/components/WMMapPin.d.ts +31 -31
  41. package/src/lib/components/WMMemo.d.ts +5 -5
  42. package/src/lib/components/WMMemo.spec.d.ts +1 -1
  43. package/src/lib/components/WMPrefetch.d.ts +9 -9
  44. package/src/lib/components/WMPrefetch.spec.d.ts +1 -1
  45. package/src/lib/components/WMProjection.d.ts +16 -16
  46. package/src/lib/components/WMTileRenderer.d.ts +7 -7
  47. package/src/lib/components/WMTileRenderer.spec.d.ts +1 -1
  48. package/src/lib/components/WMTime.d.ts +43 -43
  49. package/src/lib/components/WMTime.spec.d.ts +1 -1
  50. package/src/lib/components/WMTimeTypes.d.ts +19 -19
  51. package/src/lib/components/WMTimer.d.ts +11 -11
  52. package/src/lib/components/WMTimer.spec.d.ts +1 -1
  53. package/src/lib/components/WMXMLParser.d.ts +9 -9
  54. package/src/lib/components/WMXMLParser.spec.d.ts +1 -1
  55. package/src/lib/components/index.d.ts +24 -24
  56. package/src/lib/components/types.d.ts +174 -174
  57. package/src/lib/index.d.ts +5 -5
  58. package/src/lib/utils/consoleErrorMessages.d.ts +11 -11
  59. package/src/lib/utils/fakeMaxAgeResponses.d.ts +1 -1
  60. package/src/lib/utils/getCapabilities/getCapabilities.d.ts +18 -18
  61. package/src/lib/utils/getCapabilities/getCapabilities.spec.d.ts +1 -1
  62. package/src/lib/utils/getCapabilities/index.d.ts +2 -2
  63. package/src/lib/utils/getCapabilities/mocks/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +1 -1
  64. package/src/lib/utils/getCapabilities/mocks/index.d.ts +89 -89
  65. package/src/lib/utils/getCapabilities/mocks/mockGetCapabilities.d.ts +87 -87
  66. package/src/lib/utils/i18n.d.ts +4 -2
  67. package/src/lib/utils/index.d.ts +9 -9
  68. package/src/lib/utils/mapConstants.d.ts +7 -7
  69. package/src/lib/utils/specs/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -2
  70. package/src/lib/utils/specs/WMS130GetCapabilitiesHarmN25.d.ts +2 -2
  71. package/src/lib/utils/specs/WMS130GetCapabilitiesRadarTestWithInheritAndReplaceLayerprops.d.ts +2 -2
  72. package/src/lib/utils/specs/WMS130GetCapabilitiesRadarTestWithInheritLayerprops.d.ts +2 -2
  73. package/src/lib/utils/specs/WMS130GetCapabilitiesRadarTestWithoutInheritLayerprops.d.ts +2 -2
  74. package/src/lib/utils/specs/WMSSmartMet.d.ts +2 -2
  75. package/src/lib/utils/testSettings.d.ts +14 -14
  76. package/src/lib/utils/testUtils.d.ts +21 -21
  77. package/src/lib/utils/tilesettings.d.ts +26 -26
  78. package/src/lib/utils/utils.d.ts +56 -56
  79. package/src/lib/utils/utils.spec.d.ts +1 -1
@@ -1,97 +1,97 @@
1
- export interface WMImageOptions {
2
- randomizer?: boolean;
3
- headers: Headers[];
4
- fakeMaxAge?: number;
5
- }
6
- /**
7
- * Returns the current time in ms
8
- * @returns the current time in ms
9
- */
10
- export declare const getCurrentImageTime: () => number;
11
- /**
12
- * WMImage provides an API to the HTML image element. It is used for caching and easier access to images.
13
- */
14
- export default class WMImage {
15
- imageLife: number;
16
- randomize: boolean;
17
- _srcLoaded: string;
18
- _isLoaded: boolean;
19
- _isLoading: boolean;
20
- _hasError: boolean;
21
- srcToLoad: string;
22
- loadEventCallback?: (image: WMImage) => void;
23
- el: HTMLImageElement;
24
- headers: Headers[];
25
- _imageTimeStampAtError: number;
26
- _numFailedAttempts: number;
27
- _loadStartTime: number;
28
- _loadDuration?: number;
29
- _fakeMaxAge?: number | null;
30
- /**
31
- *
32
- * @param src Optionally set the source URL to load
33
- * @param callback Optionally set the callback function to trigger once image has loaded
34
- * @param options Additional options to the image. You can set { randomizer: true } to force unique url's and prevent caching.
35
- */
36
- constructor(src: string, callback?: (image: WMImage) => void, options?: WMImageOptions);
37
- private init;
38
- /**
39
- * Returns true if the image has been loaded
40
- */
41
- isLoaded(): boolean;
42
- isLoadedWithoutErrors(): boolean;
43
- hasNotStartedLoading(): boolean;
44
- isStale(): boolean;
45
- /**
46
- * Returns true if the image is still loading
47
- */
48
- isLoading(): boolean;
49
- /**
50
- * Get the amount of milliseconds since the image experienced an image load.
51
- * @returns milliseconds since the image had an error
52
- */
53
- getLastErrorMSecondsAgo(): number;
54
- /**
55
- * @returns The number of failed attempts for this image
56
- */
57
- getNumFailedAttempts(): number;
58
- /**
59
- * Set source of image, but it will not load the image yet.
60
- * @param src URL of the image to load
61
- * @param options WMImageOptions to give to the image
62
- */
63
- setSource(src: string, options: WMImageOptions): void;
64
- /**
65
- * Re-intialize the image
66
- */
67
- clear(): void;
68
- /**
69
- * Get the URL of the image
70
- */
71
- getSrc(): string;
72
- /**
73
- * Check if the image has an error
74
- */
75
- hasError(): boolean;
76
- /**
77
- * Start loading the image
78
- */
79
- load(): void;
80
- forceReload(randomize?: boolean): void;
81
- private _getImageWithHeaders;
82
- private _load;
83
- private _loadEvent;
84
- getLoadDuration(): number | undefined;
85
- /**
86
- * Get the width of the current image
87
- */
88
- getWidth(): number;
89
- /**
90
- * Get the height of the current image
91
- */
92
- getHeight(): number;
93
- /**
94
- * Get the HTMLImageElement behind the WMImage
95
- */
96
- getElement(): HTMLImageElement;
97
- }
1
+ export interface WMImageOptions {
2
+ randomizer?: boolean;
3
+ headers: Headers[];
4
+ fakeMaxAge?: number;
5
+ }
6
+ /**
7
+ * Returns the current time in ms
8
+ * @returns the current time in ms
9
+ */
10
+ export declare const getCurrentImageTime: () => number;
11
+ /**
12
+ * WMImage provides an API to the HTML image element. It is used for caching and easier access to images.
13
+ */
14
+ export default class WMImage {
15
+ imageLife: number;
16
+ randomize: boolean;
17
+ _srcLoaded: string;
18
+ _isLoaded: boolean;
19
+ _isLoading: boolean;
20
+ _hasError: boolean;
21
+ srcToLoad: string;
22
+ loadEventCallback?: (image: WMImage) => void;
23
+ el: HTMLImageElement;
24
+ headers: Headers[];
25
+ _imageTimeStampAtError: number;
26
+ _numFailedAttempts: number;
27
+ _loadStartTime: number;
28
+ _loadDuration?: number;
29
+ _fakeMaxAge?: number | null;
30
+ /**
31
+ *
32
+ * @param src Optionally set the source URL to load
33
+ * @param callback Optionally set the callback function to trigger once image has loaded
34
+ * @param options Additional options to the image. You can set { randomizer: true } to force unique url's and prevent caching.
35
+ */
36
+ constructor(src: string, callback?: (image: WMImage) => void, options?: WMImageOptions);
37
+ private init;
38
+ /**
39
+ * Returns true if the image has been loaded
40
+ */
41
+ isLoaded(): boolean;
42
+ isLoadedWithoutErrors(): boolean;
43
+ hasNotStartedLoading(): boolean;
44
+ isStale(): boolean;
45
+ /**
46
+ * Returns true if the image is still loading
47
+ */
48
+ isLoading(): boolean;
49
+ /**
50
+ * Get the amount of milliseconds since the image experienced an image load.
51
+ * @returns milliseconds since the image had an error
52
+ */
53
+ getLastErrorMSecondsAgo(): number;
54
+ /**
55
+ * @returns The number of failed attempts for this image
56
+ */
57
+ getNumFailedAttempts(): number;
58
+ /**
59
+ * Set source of image, but it will not load the image yet.
60
+ * @param src URL of the image to load
61
+ * @param options WMImageOptions to give to the image
62
+ */
63
+ setSource(src: string, options: WMImageOptions): void;
64
+ /**
65
+ * Re-intialize the image
66
+ */
67
+ clear(): void;
68
+ /**
69
+ * Get the URL of the image
70
+ */
71
+ getSrc(): string;
72
+ /**
73
+ * Check if the image has an error
74
+ */
75
+ hasError(): boolean;
76
+ /**
77
+ * Start loading the image
78
+ */
79
+ load(): void;
80
+ forceReload(randomize?: boolean): void;
81
+ private _getImageWithHeaders;
82
+ private _load;
83
+ private _loadEvent;
84
+ getLoadDuration(): number | undefined;
85
+ /**
86
+ * Get the width of the current image
87
+ */
88
+ getWidth(): number;
89
+ /**
90
+ * Get the height of the current image
91
+ */
92
+ getHeight(): number;
93
+ /**
94
+ * Get the HTMLImageElement behind the WMImage
95
+ */
96
+ getElement(): HTMLImageElement;
97
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,44 +1,44 @@
1
- import WMImage, { WMImageOptions } from './WMImage';
2
- export declare enum WMImageEventType {
3
- Loaded = 0,
4
- Deleted = 1
5
- }
6
- export default class WMImageStore {
7
- imagesbysrc: Map<string, WMImage>;
8
- imageLife: number;
9
- _imageLifeCounter: number;
10
- _loadEventCallbackList: {
11
- id: string;
12
- callback: (image: WMImage, id: string, imageEventType: WMImageEventType) => void;
13
- }[];
14
- _maxNumberOfImages: number;
15
- _options: {
16
- id: string;
17
- };
18
- emptyImage: WMImage;
19
- /**
20
- * Constructs a new WMImageStore with given amount of image cache.
21
- * @param {*} maxNumberOfImages
22
- * @param {*} options
23
- */
24
- constructor(maxNumberOfImages: number, options: {
25
- id: string;
26
- });
27
- load(imageUrl: string): void;
28
- imageLoadEventCallback(_img: WMImage, imageEventType: WMImageEventType): void;
29
- /**
30
- * Check if we have similar images with the same source in the pipeline
31
- */
32
- getImageForSrc(src: string): WMImage | undefined;
33
- clear(): void;
34
- addImageEventCallback(callback: (image: WMImage, id: string, imageEventType: WMImageEventType) => void, id: string): void;
35
- removeAllEventCallbacks(): void;
36
- removeEventCallback(id: string): void;
37
- getNumImagesLoading(): number;
38
- /**
39
- * Get an WMImage object for given URL
40
- * @param {*} src The url for the image
41
- * @returns WMImage object
42
- */
43
- getImage(src: string, loadOptions?: WMImageOptions): WMImage;
44
- }
1
+ import WMImage, { WMImageOptions } from './WMImage';
2
+ export declare enum WMImageEventType {
3
+ Loaded = 0,
4
+ Deleted = 1
5
+ }
6
+ export default class WMImageStore {
7
+ imagesbysrc: Map<string, WMImage>;
8
+ imageLife: number;
9
+ _imageLifeCounter: number;
10
+ _loadEventCallbackList: {
11
+ id: string;
12
+ callback: (image: WMImage, id: string, imageEventType: WMImageEventType) => void;
13
+ }[];
14
+ _maxNumberOfImages: number;
15
+ _options: {
16
+ id: string;
17
+ };
18
+ emptyImage: WMImage;
19
+ /**
20
+ * Constructs a new WMImageStore with given amount of image cache.
21
+ * @param {*} maxNumberOfImages
22
+ * @param {*} options
23
+ */
24
+ constructor(maxNumberOfImages: number, options: {
25
+ id: string;
26
+ });
27
+ load(imageUrl: string): void;
28
+ imageLoadEventCallback(_img: WMImage, imageEventType: WMImageEventType): void;
29
+ /**
30
+ * Check if we have similar images with the same source in the pipeline
31
+ */
32
+ getImageForSrc(src: string): WMImage | undefined;
33
+ clear(): void;
34
+ addImageEventCallback(callback: (image: WMImage, id: string, imageEventType: WMImageEventType) => void, id: string): void;
35
+ removeAllEventCallbacks(): void;
36
+ removeEventCallback(id: string): void;
37
+ getNumImagesLoading(): number;
38
+ /**
39
+ * Get an WMImage object for given URL
40
+ * @param {*} src The url for the image
41
+ * @returns WMImage object
42
+ */
43
+ getImage(src: string, loadOptions?: WMImageOptions): WMImage;
44
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,112 +1,112 @@
1
- import { Dimension, TimeInterval } from './types';
2
- import { ParseISOTimeRangeDuration } from './WMTime';
3
- import { CustomDate } from './WMTimeTypes';
4
- /**
5
- * Re-formats isoString to the string that is expected by WMJSDimension (for time).
6
- * @param dateIn The input date to re-format, usually in the format `YYYY-MM-DDThh:mm:ss.uuuZ`
7
- * @returns The formated input date in the format `YYYY-MM-DDThh:mm:ssZ`
8
- */
9
- export declare const handleDateUtilsISOString: (dateIn: string) => string;
10
- interface WMJSDimensionConfig {
11
- name?: string;
12
- units?: string;
13
- values?: string;
14
- currentValue?: string;
15
- defaultValue?: string;
16
- linked?: boolean;
17
- unitSymbol?: string;
18
- synced?: boolean;
19
- }
20
- /**
21
- * WMJSDimension Class
22
- * Keep all information for a single dimension, like time.
23
- * Author : MaartenPlieger (plieger at knmi.nl)
24
- * Copyright KNMI
25
- */
26
- export default class WMJSDimension implements Dimension {
27
- currentValue: string;
28
- defaultValue: string;
29
- name: string;
30
- units: string;
31
- unitSymbol: string;
32
- linked: boolean;
33
- synced: boolean;
34
- used?: boolean;
35
- values?: string;
36
- private timeRangeDuration?;
37
- private _initialized;
38
- private _timeRangeDurationDate;
39
- private _allDates;
40
- private _type;
41
- private _allValues;
42
- private dimMinValue;
43
- private dimMaxValue;
44
- private dimTimeInterval;
45
- private calculatedTimeInterval;
46
- constructor(config?: WMJSDimensionConfig);
47
- generateAllValues(): number | string[];
48
- setTimeValuesForReferenceTime(referenceTimeValueToSet: string, referenceTimeDim: WMJSDimension): void;
49
- reInitializeValues(values: string, forceReferenceTimeValue?: boolean): void;
50
- initialize(forceothervalues?: string | undefined, forceReferenceTimeValue?: boolean): void;
51
- /**
52
- * Returns the current value of this dimensions.
53
- * If a ISO8601 period is set, the getValue will return a timeRange using addTimeRangeDurationToValue instead of a single value
54
- */
55
- getValue(): string;
56
- processCompressedRefTimeValues(ogcdimvalues: string): void;
57
- createTimeStepsArray(partTimeRanges: ParseISOTimeRangeDuration): string[];
58
- /**
59
- * Set current value of this dimension
60
- * @param value The new value for this dimension (string)
61
- * @param forceValue When set to false,check if the given value is outside range, and do nothing if this is the case
62
- */
63
- setValue(value: string, forceValue?: boolean): void;
64
- /**
65
- * Returns values of the dimension, according to values defined in WMS specification, e.g. 2011-01-01T00:00:00Z/2012-01-01T00:00:00Z/P1M or list of values.
66
- * @returns
67
- */
68
- getValues(): string;
69
- setClosestValue(newValue?: string | null, evenWhenOutsideRange?: boolean): void;
70
- addTimeRangeDurationToValue(value: string): string;
71
- setTimeRangeDuration(duration: string): void;
72
- getClosestValue(_newValue: string, evenWhenOutsideRange?: boolean): string;
73
- /**
74
- * Get dimension value for specified index
75
- */
76
- getValueForIndex(index: number): string | CustomDate;
77
- /**
78
- * Hint about the timestep size / time resolution of this dimension.
79
- * @returns The dimTimeInterval
80
- */
81
- getDimInterval(): TimeInterval | undefined;
82
- /**
83
- * Shorthand functionf or getValueForIndex
84
- */
85
- get(index: number): string;
86
- /**
87
- * Returns the first dimension value
88
- */
89
- getFirstValue(): string;
90
- /**
91
- * Returns the last dimension value
92
- */
93
- getLastValue(): string;
94
- /**
95
- * Get index value for specified value. Returns the index in the store for the given time value, either a date or a iso8601 string can be passes as input.
96
- * @param value Either a JS Date object or an ISO8601 String
97
- * @return The index of the value. If outSideOfRangeFlag is false, a valid index will
98
- * always be returned. If outSideOfRangeFlag is true:
99
- * -1 if the value is not in the store, and is lower than available values,
100
- * -2 if the value is not in the store, and is higher than available values
101
- */
102
- getIndexForValue(value: string, outSideOfRangeFlag?: boolean): number;
103
- /**
104
- * Get number of values
105
- */
106
- size(): number;
107
- /**
108
- * Clone this dimension
109
- */
110
- clone(): WMJSDimension;
111
- }
112
- export {};
1
+ import { Dimension, TimeInterval } from './types';
2
+ import { ParseISOTimeRangeDuration } from './WMTime';
3
+ import { CustomDate } from './WMTimeTypes';
4
+ /**
5
+ * Re-formats isoString to the string that is expected by WMJSDimension (for time).
6
+ * @param dateIn The input date to re-format, usually in the format `YYYY-MM-DDThh:mm:ss.uuuZ`
7
+ * @returns The formated input date in the format `YYYY-MM-DDThh:mm:ssZ`
8
+ */
9
+ export declare const handleDateUtilsISOString: (dateIn: string) => string;
10
+ interface WMJSDimensionConfig {
11
+ name?: string;
12
+ units?: string;
13
+ values?: string;
14
+ currentValue?: string;
15
+ defaultValue?: string;
16
+ linked?: boolean;
17
+ unitSymbol?: string;
18
+ synced?: boolean;
19
+ }
20
+ /**
21
+ * WMJSDimension Class
22
+ * Keep all information for a single dimension, like time.
23
+ * Author : MaartenPlieger (plieger at knmi.nl)
24
+ * Copyright KNMI
25
+ */
26
+ export default class WMJSDimension implements Dimension {
27
+ currentValue: string;
28
+ defaultValue: string;
29
+ name: string;
30
+ units: string;
31
+ unitSymbol: string;
32
+ linked: boolean;
33
+ synced: boolean;
34
+ used?: boolean;
35
+ values?: string;
36
+ private timeRangeDuration?;
37
+ private _initialized;
38
+ private _timeRangeDurationDate;
39
+ private _allDates;
40
+ private _type;
41
+ private _allValues;
42
+ private dimMinValue;
43
+ private dimMaxValue;
44
+ private dimTimeInterval;
45
+ private calculatedTimeInterval;
46
+ constructor(config?: WMJSDimensionConfig);
47
+ generateAllValues(): number | string[];
48
+ setTimeValuesForReferenceTime(referenceTimeValueToSet: string, referenceTimeDim: WMJSDimension): void;
49
+ reInitializeValues(values: string, forceReferenceTimeValue?: boolean): void;
50
+ initialize(forceothervalues?: string | undefined, forceReferenceTimeValue?: boolean): void;
51
+ /**
52
+ * Returns the current value of this dimensions.
53
+ * If a ISO8601 period is set, the getValue will return a timeRange using addTimeRangeDurationToValue instead of a single value
54
+ */
55
+ getValue(): string;
56
+ processCompressedRefTimeValues(ogcdimvalues: string): void;
57
+ createTimeStepsArray(partTimeRanges: ParseISOTimeRangeDuration): string[];
58
+ /**
59
+ * Set current value of this dimension
60
+ * @param value The new value for this dimension (string)
61
+ * @param forceValue When set to false,check if the given value is outside range, and do nothing if this is the case
62
+ */
63
+ setValue(value: string, forceValue?: boolean): void;
64
+ /**
65
+ * Returns values of the dimension, according to values defined in WMS specification, e.g. 2011-01-01T00:00:00Z/2012-01-01T00:00:00Z/P1M or list of values.
66
+ * @returns
67
+ */
68
+ getValues(): string;
69
+ setClosestValue(newValue?: string | null, evenWhenOutsideRange?: boolean): void;
70
+ addTimeRangeDurationToValue(value: string): string;
71
+ setTimeRangeDuration(duration: string): void;
72
+ getClosestValue(_newValue: string, evenWhenOutsideRange?: boolean): string;
73
+ /**
74
+ * Get dimension value for specified index
75
+ */
76
+ getValueForIndex(index: number): string | CustomDate;
77
+ /**
78
+ * Hint about the timestep size / time resolution of this dimension.
79
+ * @returns The dimTimeInterval
80
+ */
81
+ getDimInterval(): TimeInterval | undefined;
82
+ /**
83
+ * Shorthand functionf or getValueForIndex
84
+ */
85
+ get(index: number): string;
86
+ /**
87
+ * Returns the first dimension value
88
+ */
89
+ getFirstValue(): string;
90
+ /**
91
+ * Returns the last dimension value
92
+ */
93
+ getLastValue(): string;
94
+ /**
95
+ * Get index value for specified value. Returns the index in the store for the given time value, either a date or a iso8601 string can be passes as input.
96
+ * @param value Either a JS Date object or an ISO8601 String
97
+ * @return The index of the value. If outSideOfRangeFlag is false, a valid index will
98
+ * always be returned. If outSideOfRangeFlag is true:
99
+ * -1 if the value is not in the store, and is lower than available values,
100
+ * -2 if the value is not in the store, and is higher than available values
101
+ */
102
+ getIndexForValue(value: string, outSideOfRangeFlag?: boolean): number;
103
+ /**
104
+ * Get number of values
105
+ */
106
+ size(): number;
107
+ /**
108
+ * Clone this dimension
109
+ */
110
+ clone(): WMJSDimension;
111
+ }
112
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,2 +1,2 @@
1
- import proj4 from 'proj4';
2
- export { proj4 };
1
+ import proj4 from 'proj4';
2
+ export { proj4 };