@artstesh/maps 1.2.0 → 1.2.1

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 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 12, 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.
package/dist/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # PlatformNgxComponents
2
-
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.1.0.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project maps-components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project maps-components`.
8
- > Note: Don't forget to add `--project maps-components` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
-
12
- Run `ng build maps-components` to build the project. The build artifacts will be stored in the `dist/` directory.
13
-
14
- ## Publishing
15
-
16
- After building your library with `ng build maps-components`, go to the dist folder `cd dist/maps-components` and run `npm publish`.
17
-
18
- ## Running unit tests
19
-
20
- Run `ng test maps-components` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
1
+ # PlatformNgxComponents
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.1.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project maps-components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project maps-components`.
8
+ > Note: Don't forget to add `--project maps-components` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build maps-components` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build maps-components`, go to the dist folder `cd dist/maps-components` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test maps-components` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -1725,7 +1725,7 @@
1725
1725
  if (!this.map)
1726
1726
  return null;
1727
1727
  var _c = __read(this.map.getView().getCenter(), 2), longitude = _c[0], latitude = _c[1];
1728
- var zoom = Math.floor(this.map.getView().getZoom());
1728
+ var zoom = this.map.getView().getZoom();
1729
1729
  var extent = this.map.getView().calculateExtent();
1730
1730
  return { longitude: longitude, latitude: latitude, zoom: zoom, extent: extent };
1731
1731
  };