@artstesh/maps 8.2.1 → 8.2.2
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/README.md +7 -0
- package/dist/fesm2022/maps-components-src-map.mjs +1 -1
- package/dist/fesm2022/maps-components-src-map.mjs.map +1 -1
- package/dist/fesm2022/maps-components.mjs +1 -1
- package/dist/fesm2022/maps-components.mjs.map +1 -1
- package/dist/map/messages/executors/calculate-area.executor.d.ts +1 -3
- package/dist/src/map/messages/executors/calculate-area.executor.d.ts +1 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,3 +9,10 @@ The main purpose of the project is to make easier the process of using of [openl
|
|
|
9
9
|
### License
|
|
10
10
|
|
|
11
11
|
This project is licensed under the MIT License
|
|
12
|
+
|
|
13
|
+
### Support status
|
|
14
|
+
|
|
15
|
+
This line targets Angular 19, which is end-of-life, and is **archived**: it receives no
|
|
16
|
+
further features, fixes, ports, or releases. Migrate to a supported Angular major and
|
|
17
|
+
install the matching `@artstesh/maps` line - see the version support table at
|
|
18
|
+
https://maps.artstesh.ru.
|
|
@@ -1166,7 +1166,7 @@ class MapStateService {
|
|
|
1166
1166
|
if (!this.map)
|
|
1167
1167
|
return null;
|
|
1168
1168
|
let [longitude, latitude] = this.map.getView().getCenter();
|
|
1169
|
-
const zoom =
|
|
1169
|
+
const zoom = this.map.getView().getZoom();
|
|
1170
1170
|
const extent = this.map.getView().calculateExtent();
|
|
1171
1171
|
return { longitude, latitude, zoom, extent };
|
|
1172
1172
|
}
|