Skip to content

Commit

Permalink
Merge branch 'release/1.14.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Dubrava committed Jun 22, 2020
2 parents 90ac65b + 89b2744 commit fe2ff25
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
All notable changes from v1.0.0 will be documented in this file.

## [1.14.2] - 2020-06-22
### Fixed
- Not applying width, height properties for Panorama container

## [1.14.1] - 2020-06-22
### Fixed
- Not working API key in config. Rename apiKey to apikey in IConfig interface
Expand Down Expand Up @@ -139,6 +143,10 @@ All notable changes from v1.0.0 will be documented in this file.
## [1.0.0] - 2019-09-14
- Release without changes

[1.14.2]: https://github.com/ddubrava/angular-yandex-maps/compare/v1.14.1...v1.14.2
[1.14.1]: https://github.com/ddubrava/angular-yandex-maps/compare/v1.14.0...v1.14.1
[1.14.0]: https://github.com/ddubrava/angular-yandex-maps/compare/v1.13.1...v1.14.0
[1.13.1]: https://github.com/ddubrava/angular-yandex-maps/compare/v1.13.0...v1.13.1
[1.13.0]: https://github.com/ddubrava/angular-yandex-maps/compare/v1.12.0...v1.13.0
[1.12.0]: https://github.com/ddubrava/angular-yandex-maps/compare/v1.11.4...v1.12.0
[1.11.4]: https://github.com/ddubrava/angular-yandex-maps/compare/v1.11.3...v1.11.4
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-yandex-maps",
"version": "1.14.1",
"version": "1.14.2",
"scripts": {
"start": "ng serve",
"build": "ng build angular8-yandex-maps",
Expand Down
2 changes: 1 addition & 1 deletion projects/angular8-yandex-maps/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular8-yandex-maps",
"version": "1.14.1",
"version": "1.14.2",
"description": "Angular module for Yandex.Maps",
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<div class="container" #container></div>
<div #container></div>
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { Component, OnInit, Input, ViewChild, ElementRef, Output, EventEmitter } from '@angular/core';
import { Component, ElementRef, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';
import { IEvent, ILoadEvent } from '../../models/models';

import { YandexMapService } from '../../services/yandex-map/yandex-map.service';
import { take } from 'rxjs/operators';
import { generateRandomId } from '../../utils/utils';
import { IEvent, ILoadEvent } from '../../models/models';
import { take } from 'rxjs/operators';

@Component({
selector: 'angular-yandex-panorama',
Expand Down Expand Up @@ -46,7 +47,9 @@ export class YandexPanoramaComponent implements OnInit {
* @param id - unique id
*/
private _createPanorama(ymaps: any, id: string): void {
this.panoramaContainer.nativeElement.setAttribute('id', id);
const containerElem: HTMLElement = this.panoramaContainer.nativeElement;
containerElem.setAttribute('id', id);
containerElem.style.cssText = 'width: 100%; height: 100%;';

ymaps.panorama.locate(this.point, { layer: this.layer })
.then((panorama: any) => {
Expand Down

0 comments on commit fe2ff25

Please sign in to comment.