@open-pioneer/coordinate-viewer 1.4.0 → 1.5.0-dev.20260910103330
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/CHANGELOG.md +34 -20
- package/package.json +12 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @open-pioneer/coordinate-viewer
|
|
2
2
|
|
|
3
|
+
## 1.5.0-dev.20260910103330
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f790fda: Update to Chakra 3.37.0
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 09ec7c7: Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 1.4.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -66,17 +76,17 @@
|
|
|
66
76
|
- 193068a: Deprecate the `mapId` property on React components.
|
|
67
77
|
Use the `MapModel` directly instead to pass a reference to the map.
|
|
68
78
|
|
|
69
|
-
|
|
79
|
+
Example:
|
|
70
80
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
81
|
+
```tsx
|
|
82
|
+
// Default map for entire component tree
|
|
83
|
+
<DefaultMapProvider map={mapModel}>
|
|
84
|
+
<Toc />
|
|
85
|
+
</DefaultMapProvider>
|
|
76
86
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
87
|
+
// Map for specific component
|
|
88
|
+
<Toc map={mapModel} />
|
|
89
|
+
```
|
|
80
90
|
|
|
81
91
|
### Patch Changes
|
|
82
92
|
|
|
@@ -95,9 +105,9 @@
|
|
|
95
105
|
### Minor Changes
|
|
96
106
|
|
|
97
107
|
- 2fa8020: Update trails core package dependencies.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
108
|
+
- Also updates Chakra UI to the latest 2.x version and Chakra React Select to version 5.
|
|
109
|
+
- Removes any obsolete references to `@chakra-ui/system`.
|
|
110
|
+
This dependency seems to be no longer required and may lead to duplicate packages in your dependency tree.
|
|
101
111
|
|
|
102
112
|
### Patch Changes
|
|
103
113
|
|
|
@@ -116,16 +126,16 @@
|
|
|
116
126
|
- 583f1d6: The `mapId` or `map` properties are now optional on individual components.
|
|
117
127
|
You can use the `DefaultMapProvider` to configure an implicit default value.
|
|
118
128
|
|
|
119
|
-
|
|
129
|
+
Note that configuring _neither_ a default _nor_ an explicit `map` or `mapId` will trigger a runtime error.
|
|
120
130
|
|
|
121
131
|
- 583f1d6: All UI components in this project now accept the `mapId` (a `string`) _or_ the `map` (a `MapModel`) directly.
|
|
122
132
|
- a8b3449: Switch to a new versioning strategy.
|
|
123
133
|
From now on, packages released by this repository share a common version number.
|
|
124
134
|
- 6b59779: Added option to display geographic coordinates in angle format (DMS) in CoordinateViewer:
|
|
125
135
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
136
|
+
```jsx
|
|
137
|
+
<CoordinateViewer mapId="map_id" format="degree" />
|
|
138
|
+
```
|
|
129
139
|
|
|
130
140
|
- 900eb11: Update dependencies.
|
|
131
141
|
|
|
@@ -169,11 +179,15 @@
|
|
|
169
179
|
|
|
170
180
|
- 66f5733: add optional property for display coordinate projection
|
|
171
181
|
|
|
172
|
-
|
|
182
|
+
example (show WGS84 coordinates on display):
|
|
173
183
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
184
|
+
```jsx
|
|
185
|
+
<CoordinateViewer
|
|
186
|
+
mapId={MAP_ID}
|
|
187
|
+
precision={2}
|
|
188
|
+
displayProjectionCode="EPSG:4326"
|
|
189
|
+
/>
|
|
190
|
+
```
|
|
177
191
|
|
|
178
192
|
## 0.3.0
|
|
179
193
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/coordinate-viewer",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.0-dev.20260910103330",
|
|
5
5
|
"description": "This package provides a UI component to show the current coordinates at the users current mouse position.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -14,13 +14,17 @@
|
|
|
14
14
|
"directory": "src/packages/coordinate-viewer"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@chakra-ui/react": "^3.
|
|
18
|
-
"@open-pioneer/
|
|
19
|
-
"@open-pioneer/
|
|
20
|
-
"@open-pioneer/
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
17
|
+
"@chakra-ui/react": "^3.37.0",
|
|
18
|
+
"@open-pioneer/map": "1.5.0-dev.20260910103330",
|
|
19
|
+
"@open-pioneer/react-utils": "4.8.0-dev.20260910101405",
|
|
20
|
+
"@open-pioneer/reactivity": "4.8.0-dev.20260910101405",
|
|
21
|
+
"@open-pioneer/runtime": "4.8.0-dev.20260910101405",
|
|
22
|
+
"ol": "^10.10.0",
|
|
23
|
+
"react": "^19.2.8"
|
|
24
|
+
},
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"directory": "dist",
|
|
27
|
+
"linkDirectory": false
|
|
24
28
|
},
|
|
25
29
|
"exports": {
|
|
26
30
|
"./package.json": "./package.json",
|