@artstesh/maps 6.1.9 → 6.1.11

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.
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
2
2
  import { MapSettings } from '../models';
3
3
  import Map from 'ol/Map';
4
4
  import { DestructibleComponent } from '../common/destructible.component';
@@ -7,19 +7,21 @@ import { MapPostboyService } from '../services/map-postboy.service';
7
7
  import { MapPlateFactory } from './map-plate.factory.service';
8
8
  import { FeatureLayerSettings } from './layers';
9
9
  import * as i0 from "@angular/core";
10
- export declare class MapPlateComponent extends DestructibleComponent implements OnInit {
10
+ export declare class MapPlateComponent extends DestructibleComponent implements AfterViewInit {
11
11
  private elementRef;
12
12
  private postboy;
13
13
  private mapFactory;
14
14
  private registrator;
15
15
  private detector;
16
+ private renderTryCount;
16
17
  map: Map;
17
18
  osmUrl: string;
18
19
  drawingLayerSettings: FeatureLayerSettings;
19
20
  constructor(elementRef: ElementRef, postboy: MapPostboyService, mapFactory: MapPlateFactory, registrator: MessageRegistratorService, detector: ChangeDetectorRef);
20
21
  _settings: MapSettings;
21
22
  set settings(value: MapSettings | undefined);
22
- ngOnInit(): void;
23
+ private initializeMap;
24
+ ngAfterViewInit(): void;
23
25
  onDestroy: () => void;
24
26
  private setOsm;
25
27
  static ɵfac: i0.ɵɵFactoryDeclaration<MapPlateComponent, never>;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
2
2
  import { MapSettings } from '../models';
3
3
  import Map from 'ol/Map';
4
4
  import { DestructibleComponent } from '../common/destructible.component';
@@ -7,19 +7,21 @@ import { MapPostboyService } from '../services/map-postboy.service';
7
7
  import { MapPlateFactory } from './map-plate.factory.service';
8
8
  import { FeatureLayerSettings } from './layers';
9
9
  import * as i0 from "@angular/core";
10
- export declare class MapPlateComponent extends DestructibleComponent implements OnInit {
10
+ export declare class MapPlateComponent extends DestructibleComponent implements AfterViewInit {
11
11
  private elementRef;
12
12
  private postboy;
13
13
  private mapFactory;
14
14
  private registrator;
15
15
  private detector;
16
+ private renderTryCount;
16
17
  map: Map;
17
18
  osmUrl: string;
18
19
  drawingLayerSettings: FeatureLayerSettings;
19
20
  constructor(elementRef: ElementRef, postboy: MapPostboyService, mapFactory: MapPlateFactory, registrator: MessageRegistratorService, detector: ChangeDetectorRef);
20
21
  _settings: MapSettings;
21
22
  set settings(value: MapSettings | undefined);
22
- ngOnInit(): void;
23
+ private initializeMap;
24
+ ngAfterViewInit(): void;
23
25
  onDestroy: () => void;
24
26
  private setOsm;
25
27
  static ɵfac: i0.ɵɵFactoryDeclaration<MapPlateComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artstesh/maps",
3
- "version": "6.1.9",
3
+ "version": "6.1.11",
4
4
  "author": "artstesh",
5
5
  "license": "MIT",
6
6
  "description": "Let's draw a map ;)",